Skip to content

Commit

Permalink
prevent ExperimentType from getting exp_set_addition
Browse files Browse the repository at this point in the history
  • Loading branch information
sbreiff committed Apr 23, 2019
1 parent d5d71ca commit 79e5513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wranglertools/get_field_info.py
Expand Up @@ -344,7 +344,7 @@ def get_uploadable_fields(connection, types, include_description=False,
include_description,
include_comments,
include_enums)
if name.startswith('Experiment') and not name.startswith('ExperimentSet'):
if name.startswith('Experiment') and not name.startswith('ExperimentSet') and name != 'ExperimentType':
fields[name].extend(exp_set_addition)
if 'extra_files' in properties:
if 'submit4dn' not in properties['extra_files'].get('exclude_from', [""]):
Expand Down

0 comments on commit 79e5513

Please sign in to comment.