-
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.
Merge branch 'interactive_plots' of github.com:mjmroz/MulensModel int…
…o mjmroz_interactive_plots
- Loading branch information
Showing
5 changed files
with
112 additions
and
94 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheelhouse | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
build_source: | ||
|
@@ -69,8 +69,8 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sdist | ||
path: ./dist/*.tar.gz | ||
name: cibw-sdist | ||
path: dist/*.tar.gz | ||
|
||
publish: | ||
name: Publish to PyPI | ||
|
@@ -81,17 +81,25 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download sdist artifacts to dist/ | ||
uses: actions/download-artifact@v4.1.7 | ||
- name: Download sdist and wheelhouse artifacts to dist/ | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: sdist | ||
path: dist/ | ||
|
||
- name: Download wheelhouse artifacts to dist/ | ||
uses: actions/[email protected] | ||
with: | ||
name: wheelhouse | ||
path: dist/ | ||
# unpacks all CIBW artifacts into dist/ | ||
pattern: cibw-* | ||
path: dist | ||
merge-multiple: true | ||
|
||
# - name: Download sdist artifacts to dist/ | ||
# uses: actions/download-artifact@v4 | ||
# with: | ||
# name: sdist | ||
# path: dist/ | ||
|
||
# - name: Download wheelhouse artifacts to dist/ | ||
# uses: actions/download-artifact@v4 | ||
# with: | ||
# name: wheelhouse | ||
# path: dist/ | ||
|
||
- name: Publish package to PyPI | ||
# All files in dist/ are published | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,23 @@ | ||
# What we want to change when going from v2.X.Y to v3.0.0? | ||
# What we want to change when going from v3.X.Y to v4.0.0? | ||
|
||
Once the changes are accepted to be made, **mark them in the code using warnings.warn("XXX", FutureWarning)** and note it here. Also release a version that differs from previous one only in these warnings - this will allow users to correct their codes. Also give **suggested changes in warnings**. | ||
|
||
### Major changes: | ||
|
||
* search for all "deprecated" are remove it | ||
* rename Caustics -> CausticsBinary and CausticsWithShear -> CausticsBinaryWithShear (and files) so that they're consistent with CausticsPointWithShear | ||
|
||
??? | ||
|
||
### Minor changes: | ||
* Delete ModelParameters.pi\_E and leave pi\_E\_N and pi\_E\_E - it is not really used and just complicates the code inside | ||
* Remove ModelParameters.as\_dict() because it is the same as ModelParameters.parameters | ||
* `ModelParameters.is_static` -> `is_lens_static` | ||
* ephemerides\_file -> ephemeris\_file - maybe | ||
* Model.get\_residuals should have keyword phot\_fmt, not type to be consistent with other functions | ||
* test\_MulensData.py - in test\_copy() remove warnings.catch\_warnings() because you remove coords, ra, and dec from init | ||
|
||
### Yet unsorted/undecided: | ||
* shift alpha by 180 deg if large update is made to follow Skowron et al. (2011) convention | ||
* remove MulensData.bad - see https://github.com/rpoleski/MulensModel/issues/40 | ||
* `Model.set\_times()` - `n\_epochs` should be None as default, so that we can check if both dt and `n\_epochs` were set | ||
* Caustics.get\_caustics() should return np.arrays, not lists | ||
* check all NotImplementedError and maybe remove some functions/options | ||
* somehow change which\_parameters() in modelparameters.py - maybe remove | ||
* new class for a collection of datasets to make looping over datasets easier; also there will be data\_ref defined | ||
* the same order of arguments in plotting functions (if possible) | ||
* ModelParameters - all parameters should be float, not astropy.Quantity objects | ||
* see (this comment by Jen)[https://github.com/rpoleski/MulensModel/pull/15#issuecomment-1080879537] on how magnification methods are named and called in different parts of the code | ||
|
||
### Version 4: | ||
* Add an Observatory class. | ||
* Add an Observatory class - for terresital parallax |
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
Oops, something went wrong.