-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releases from this point forward will only fix bugs, no new features will be added on the 2.x branch. Please prepare to migrate your code to the 3.x branch once you are running in a Python3 environment. Changes: Fix a bug in normalize() which sorted loop and saveframe tags according to the default schema rather than provided schema. Added DeprecationWarning to methods and functions that are removed in v3.x releases or will be removed in the future. Fix a bug in Loop.filter() triggered when a loop only has one tag.
- Loading branch information
Showing
12 changed files
with
262 additions
and
77 deletions.
There are no files selected for viewing
Empty file.
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,11 +1,11 @@ | ||
language: python | ||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
- "nightly" | ||
# command to run tests | ||
script: touch ".nocompile" && ./pynmrstar.py && rm .nocompile && ./pynmrstar.py | ||
script: touch ".nocompile" && ./unit_tests/bmrb_test.py && rm .nocompile && ./unit_tests/bmrb_test.py |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PyNMRSTAR was created by Jon Wedell <[email protected]> in | ||
2014. |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
while true; do | ||
read -p "Have you updated the version number in bmrb.py? " yn | ||
case $yn in | ||
[Yy]* ) break;; | ||
[Nn]* ) exit;; | ||
* ) echo "Please answer yes or no.";; | ||
esac | ||
done | ||
|
||
while true; do | ||
read -p "Do release or test? " rt | ||
case $rt in | ||
[Rr]* ) python3 -m twine upload dist/*.tar.gz --sign; rm -rfv pynmrstar pynmrstar.egg-info; break;; | ||
[Tt]* ) mkdir pynmrstar; cp bmrb.py pynmrstar/__init__.py; cp -rv reference_files pynmrstar; touch pynmrstar/.nocompile; cp README.md pynmrstar; python3 setup.py sdist; rm -rfv pynmrstar pynmrstar.egg-info; break;; | ||
* ) echo "Please answer r or t.";; | ||
esac | ||
done | ||
|
Oops, something went wrong.