mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-10-12 19:10:26 +02:00
Remove the need to use dataset for model.inspect() and model.save_results(), and update the examples accordingly. Docs and ipython notebooks not yet updated
This commit is contained in:
@@ -130,7 +130,7 @@ class SimplePtycho(CDIModel):
|
||||
},
|
||||
]
|
||||
|
||||
def save_results(self, dataset):
|
||||
def save_results(self, dataset=None):
|
||||
# This will save out everything needed to recreate the object
|
||||
# in the same state, but it's not the best formatted.
|
||||
base_results = super().save_results()
|
||||
|
||||
Reference in New Issue
Block a user