Skip to content

Commit 35a4db7

Browse files
committed
Update path.py
1 parent 3493054 commit 35a4db7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/sdss_access/path/path.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,9 @@ def sptypefolder(self, filetype, **kwargs):
16401640
if filetype.lower() in ['speclite_epoch','specfull_epoch',
16411641
'spallfield_epoch','spalllinefield_epoch']:
16421642
return 'epoch/spectra'
1643-
return 'epoch'
1643+
if 'epoch' in filetype.lower():
1644+
return 'epoch'
1645+
return ''
16441646
if filetype.lower() in ['fieldlist_epoch','spall_epoch',
16451647
'spall-lite_epoch','spallline_epoch']:
16461648
return 'summary/epoch'

0 commit comments

Comments
 (0)