Update app.py
Browse files
app.py
CHANGED
|
@@ -34,6 +34,7 @@ for species, imgpath in species_to_imgpath.items():
|
|
| 34 |
filepath = os.path.join(folderpath, filename)
|
| 35 |
imgname_to_filepath[filename] = filepath
|
| 36 |
nodename = filepath.split('.')[0].split('-')[0]
|
|
|
|
| 37 |
protoID = filepath.split('.')[0].split('-')[1]
|
| 38 |
nodename_to_protoIDs[nodename].append(protoID)
|
| 39 |
|
|
|
|
| 34 |
filepath = os.path.join(folderpath, filename)
|
| 35 |
imgname_to_filepath[filename] = filepath
|
| 36 |
nodename = filepath.split('.')[0].split('-')[0]
|
| 37 |
+
print(filename, filepath, filepath.split('.'), filepath.split('.')[0].split('-'))
|
| 38 |
protoID = filepath.split('.')[0].split('-')[1]
|
| 39 |
nodename_to_protoIDs[nodename].append(protoID)
|
| 40 |
|