Commit 26751dfc authored by Ryan Herbert's avatar Ryan Herbert
Browse files

file.py remove unused function

since refactoring the system to only manage sample_set_ids we no longer
need to retrieve them from the original set ids.
parent 873475e8
......@@ -43,15 +43,6 @@ def manage_filename(filename):
return (data, filepath)
def get_sample_set_ids(id_dict):
ssid_dict = {}
for key in id_dict:
ids = id_dict[key]
ssid_dict[key] = []
ssids = [r.sample_set_id for r in db(db[key].id.belongs(id_dict[key])).select()]
ssid_dict[key] = ssids
return ssid_dict
def link_to_sample_sets(seq_file_id, id_dict):
'''
Create sample set memberships and return a dict of the sample set ids.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment