Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
profxj committed Jul 10, 2016
1 parent b83d52b commit f05a987
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linetools/isgm/abssystem.py
Expand Up @@ -176,6 +176,12 @@ def from_dict(cls, idict, skip_components=False, use_coord=False, **kwargs):
slf = cls(SkyCoord(ra=idict['RA']*u.deg, dec=idict['DEC']*u.deg),
idict['zabs'], idict['vlim']*u.km/u.s, zem=idict['zem'],
name=idict['Name'], **ckwargs)
# Other
if 'kin' in idict.keys():
slf.kin = ltu.convert_quantity_in_dict(idict['kin'])
if 'Refs' in idict.keys():
slf.Refs = idict['Refs']
# Components
if not skip_components:
# Components
if use_coord: # Speed up performance
Expand Down

0 comments on commit f05a987

Please sign in to comment.