Skip to content

Conversation

rozyczko
Copy link
Member

@rozyczko rozyczko commented Jun 3, 2024

Virtual classes for the new job and relevant other things.

Also, changes to the lmfit wrapper fixing circular dependencies.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['chore', 'fix', 'bugfix', 'bug', 'enhancement', 'feature', 'dependencies', 'documentation']

@rozyczko rozyczko changed the base branch from master to develop July 31, 2024 07:29
@rozyczko rozyczko added the [scope] enhancement Adds/improves features (major.MINOR.patch) label Aug 5, 2024
@rozyczko rozyczko marked this pull request as ready for review August 5, 2024 07:32
def calculate_theory(self, *args, **kwargs):
raise NotImplementedError("calculate_theory not implemented")
#pass
# @abstractmethod
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be deleted?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The summary/info abstract classes will be added later, so I left the code for future reuse.
The calculate_theory abstract method should not be commented out. Fixed.


import numpy as np

from easyscience.Datasets.xarray import xr # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we not moving away from xarray?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are, but conversion to scipp in libraries will be done gradually. I could remove the dependency on xarray in EasyScience, though, by deleting type hints.

@rozyczko rozyczko merged commit 0f372e5 into develop Aug 6, 2024
@rozyczko rozyczko deleted the new_job branch August 6, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants