You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand on the types of sources that may be needed:
And also add method to the DatabaseTable base class to enable grabbing these different sources:
defget_source_seed(self):
""" WARNING: This is an experimental method. Attempts to jump back through sources until we find the orginal 'seed' source -- that is, a calculation that has some external source such as user input or a third-party database. """fromsimmate.toolkitimportStructurecurrent_source=self.sourcewhilecurrent_sourceand"calculation_table"incurrent_source:
current_source=Structure.from_database(current_source).calculation.sourcereturncurrent_sourcedefget_source_children(self):
""" WARNING: This is an experimental method. Attempts to jump back through sources of all tables and find which ones point back to this given object as a seed source. It will return all child sources that meet this criterion. """raiseNotImplementedError
The text was updated successfully, but these errors were encountered:
Expand on the types of sources that may be needed:
And also add method to the DatabaseTable base class to enable grabbing these different sources:
The text was updated successfully, but these errors were encountered: