Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ If you use this tool for your research, please cite <a href='https://arxiv.org/a
|
|
206 |
# If file is uploaded, read in the data and plot it
|
207 |
if uploaded_file is not None:
|
208 |
data, wcs = load_file(uploaded_file)
|
209 |
-
os.system('mkdir -p {uploaded_file.name.strip(".fits")')
|
210 |
|
211 |
if "data" not in locals():
|
212 |
data = np.zeros((128,128))
|
|
|
206 |
# If file is uploaded, read in the data and plot it
|
207 |
if uploaded_file is not None:
|
208 |
data, wcs = load_file(uploaded_file)
|
209 |
+
os.system(f'mkdir -p {uploaded_file.name.strip(".fits")}')
|
210 |
|
211 |
if "data" not in locals():
|
212 |
data = np.zeros((128,128))
|