Skip to content

Commit

Permalink
Spread out dict read out to reduce line length. White space is alread…
Browse files Browse the repository at this point in the history
…y normalized for doc-test so this may pass.
  • Loading branch information
jbousquin committed Aug 2, 2024
1 parent fb04837 commit 789b719
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions harmonize_wq/domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,20 @@ def get_domain_dict(table, cols=None):
>>> from harmonize_wq import domains
>>> domains.get_domain_dict('ResultSampleFraction').keys() # doctest: +NORMALIZE_WHITESPACE
dict_keys(['Acid Soluble', 'Bed Sediment', 'Bedload', 'Bioavailable', 'Comb Available',
'Dissolved', 'Extractable', 'Extractable, CaCO3-bound', 'Extractable, exchangeable',
'Extractable, organic-bnd', 'Extractable, other', 'Extractable, oxide-bound',
'Extractable, residual', 'Field***', 'Filter/sieve residue', 'Filterable',
dict_keys(['Acid Soluble', 'Bed Sediment', 'Bedload', 'Bioavailable',
'Comb Available', 'Dissolved', 'Extractable',
'Extractable,CaCO3-bound', 'Extractable, exchangeable',
'Extractable, organic-bnd', 'Extractable, other',
'Extractable, oxide-bound', 'Extractable, residual', 'Field***',
'Filter/sieve residue', 'Filterable',
'Filtered field and/or lab', 'Filtered, field', 'Filtered, lab',
'Fixed', 'Free Available', 'Inorganic', 'Leachable', 'Net (Hot)',
'Non-Filterable (Particle)', 'Non-settleable', 'Non-volatile',
'None', 'Organic', 'Pot. Dissolved', 'Semivolatile', 'Settleable',
'Sieved', 'Strong Acid Diss', 'Supernate', 'Suspended', 'Total',
'Total Recoverable', 'Total Residual', 'Total Soluble',
'Unfiltered', 'Unfiltered, field', 'Vapor', 'Volatile',
'Weak Acid Diss', 'Yield', 'non-linear function'])
'None', 'Organic', 'Pot. Dissolved', 'Semivolatile',
'Settleable', 'Sieved', 'Strong Acid Diss', 'Supernate',
'Suspended', 'Total', 'Total Recoverable', 'Total Residual',
'Total Soluble', 'Unfiltered', 'Unfiltered, field', 'Vapor',
'Volatile', 'Weak Acid Diss', 'Yield', 'non-linear function'])
"""
if cols is None:
Expand Down

0 comments on commit 789b719

Please sign in to comment.