diff --git a/README.md b/README.md index 456cdcb..3361dfd 100644 --- a/README.md +++ b/README.md @@ -281,7 +281,7 @@ Or to get all of the spectrometer information - `get_tags()` accepts a list of t u'INOVA', u'INOVA']} ``` -To view all of the tags in the NMR-STAR schema and their meanings, please go [here](http://www.bmrb.wisc.edu/dictionary/tag.php). +To view all of the tags in the NMR-STAR schema and their meanings, please go [here](https://bmrb.io/dictionary/tag.php). # Assigned Chemical Shifts *"I just want to get the chemical shift data as an array - how do I do that?"* diff --git a/pynmrstar.py b/pynmrstar.py index 4592f80..fc90cf4 100755 --- a/pynmrstar.py +++ b/pynmrstar.py @@ -215,10 +215,10 @@ def _build_extension(): # Used internally _STANDARD_SCHEMA = None _COMMENT_DICTIONARY = {} -_API_URL = "http://webapi.bmrb.wisc.edu/v2" +_API_URL = "http://api.bmrb.io/v2" _SCHEMA_URL = 'https://raw.githubusercontent.com/uwbmrb/nmr-star-dictionary/master/xlschem_ann.csv' _WHITESPACE = " \t\n\v" -__version__ = "2.6.5.1" +__version__ = "2.6.6" ############################################# @@ -1553,7 +1553,7 @@ def __init__(self, **kwargs): # The location to fetch entries from entry_number = kwargs['entry_num'] - url = 'http://rest.bmrb.wisc.edu/bmrb/NMR-STAR3/%s' % entry_number + url = 'https://bmrb.io/ftp/pub/bmrb/entry_directories/bmr%s/bmr%s_3.str' % (entry_number, entry_number) # Parse from the official BMRB library try: diff --git a/release_notes.md b/release_notes.md index 75007fd..c779197 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,3 +1,7 @@ +### 2.6.6 + +Updated URLs now that BMRB has moved to BMRB.io. + ### 2.6.5 Releases from this point forward will only fix bugs, no new features will be added