Open kelle opened 4 months ago
Should be just for one spectral type, not for a list of them.
Change:
n_added = 0 n_skipped = 0
to a flags dictionary with added and skipped keys.
flags
added
skipped
flags = {'added': 0, 'skipped': 0} if <added>: flags['added'] = 1 if <skipped>: flags['skipped]=1 ... return flags
Should be just for one spectral type, not for a list of them.
Change:
to a
flags
dictionary withadded
andskipped
keys.