Skip to content

Commit

Permalink
2.6.6: Update BMRB URLs to reflect move to bmrb.io
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 25, 2021
1 parent 64a2dbc commit 5c6b1d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?"*
Expand Down
6 changes: 3 additions & 3 deletions pynmrstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


#############################################
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5c6b1d6

Please sign in to comment.