-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed small bug and added scipy version, issue #74
- Loading branch information
1 parent
8b8e467
commit fe58801
Showing
2 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fe58801
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not check the version number this way:
if scipy.__version__ >= "1.9.0":
. I suggestdistutils.version
- linkfe58801
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first answer says it is deprecated and undocumented. Isn't it better to use
packaging.version.parse
?Let me know if I also should update MulensModel version number to
2.19.1
.fe58801
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I knew you will read more about it, then I did. The problem is that
packaging
is a third party package. In that case it's better to usetry/except
and use RGI as a first choice.The version number is decided just before the merge.
fe58801
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!