Skip to content

Commit

Permalink
Merge branch 'release/2.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
thespacedoctor committed May 18, 2022
2 parents 4a7e68b + 2f4affa commit ec50a1f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

## Release Notes

**v2.2.2 - May 18, 2022**

**FIXED**: NED name parsing errors fixed

**v2.2.1 - January 21, 2022**

* **ENHANCEMENT**: added separate treatment of galaxies which extend > 10 arcmin in the sky. Search radii are reduced to reduce the chance of a background source getting incorrectly associated with these local neighbours.
Expand Down
2 changes: 1 addition & 1 deletion sherlock/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.2.1'
__version__ = '2.2.2'
36 changes: 18 additions & 18 deletions sherlock/imports/ned.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
:Author:
David Young
"""
from __future__ import print_function
from __future__ import division
from __future__ import print_function, division
from ._base_importer import _base_importer
from fundamentals.mysql import directory_script_runner, readquery, writequery
from fundamentals.renderer import list_of_dictionaries
from astrocalc.coords import unit_conversion
from fundamentals.mysql import insert_list_of_dictionaries_into_database_tables
from HMpTy.mysql import add_htm_ids_to_mysql_database_table
from neddy import namesearch, conesearch
from docopt import docopt
from datetime import datetime, date, time
import re
import string
import codecs
import pickle
import glob
import readline

from past.utils import old_div
import sys
import os
os.environ['TERM'] = 'vt100'
import readline
import glob
import pickle
import codecs
import string
import re
from datetime import datetime, date, time
from docopt import docopt
from neddy import namesearch, conesearch
from HMpTy.mysql import add_htm_ids_to_mysql_database_table
from fundamentals.mysql import insert_list_of_dictionaries_into_database_tables
from astrocalc.coords import unit_conversion
from fundamentals.renderer import list_of_dictionaries
from fundamentals.mysql import directory_script_runner, readquery, writequery
from ._base_importer import _base_importer


class ned(_base_importer):
Expand Down Expand Up @@ -376,7 +376,7 @@ def _get_ned_sources_needing_metadata(
)

self.theseIds = []
self.theseIds[:] = [r["ned_name"] for r in rows]
self.theseIds[:] = [r["ned_name"].replace('"', '\\"') for r in rows]

self.log.debug(
'completed the ``_get_ned_sources_needing_metadata`` method')
Expand Down

0 comments on commit ec50a1f

Please sign in to comment.