From f71470f7a6510eb78107e32852b88311a1fc4db4 Mon Sep 17 00:00:00 2001 From: arjunsavel Date: Wed, 14 Feb 2024 18:13:23 -0500 Subject: [PATCH] try new tqdm --- src/cortecs/fit/fit.py | 2 +- src/cortecs/fit/metrics.py | 2 +- src/cortecs/opac/chunking.py | 2 +- src/cortecs/opac/interpolate_cia.py | 2 +- src/cortecs/opac/io.py | 2 +- src/cortecs/opt/optimize_neural_net.py | 2 +- src/cortecs/opt/optimize_pca.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cortecs/fit/fit.py b/src/cortecs/fit/fit.py index 62301df..9af9a09 100644 --- a/src/cortecs/fit/fit.py +++ b/src/cortecs/fit/fit.py @@ -6,7 +6,7 @@ from multiprocessing import Pool import numpy as np -from tqdm import tqdm +from tqdm.autonotebook import tqdm from cortecs.fit.fit_neural_net import * from cortecs.fit.fit_pca import * diff --git a/src/cortecs/fit/metrics.py b/src/cortecs/fit/metrics.py index 0ed2f3f..160de39 100644 --- a/src/cortecs/fit/metrics.py +++ b/src/cortecs/fit/metrics.py @@ -3,7 +3,7 @@ """ import matplotlib.pyplot as plt import numpy as np -from tqdm import tqdm +from tqdm.autonotebook import tqdm from cortecs.eval.eval import Evaluator diff --git a/src/cortecs/opac/chunking.py b/src/cortecs/opac/chunking.py index b529b00..8cc12c9 100644 --- a/src/cortecs/opac/chunking.py +++ b/src/cortecs/opac/chunking.py @@ -27,7 +27,7 @@ from glob import glob import numpy as np -from tqdm import tqdm +from tqdm.autonotebook import tqdm from cortecs.opac.opac import * diff --git a/src/cortecs/opac/interpolate_cia.py b/src/cortecs/opac/interpolate_cia.py index 6d622c7..0b7e8c5 100644 --- a/src/cortecs/opac/interpolate_cia.py +++ b/src/cortecs/opac/interpolate_cia.py @@ -18,7 +18,7 @@ from glob import glob import numpy as np -from tqdm import tqdm +from tqdm.autonotebook import tqdm from cortecs.opac.chunking import * from cortecs.opac.io import * diff --git a/src/cortecs/opac/io.py b/src/cortecs/opac/io.py index d217dbd..81308f8 100644 --- a/src/cortecs/opac/io.py +++ b/src/cortecs/opac/io.py @@ -8,7 +8,7 @@ import h5py import numpy as np import pandas as pd -from tqdm import tqdm +from tqdm.autonotebook import tqdm AMU = 1.6605390666e-24 # atomic mass unit in cgs. From astropy! diff --git a/src/cortecs/opt/optimize_neural_net.py b/src/cortecs/opt/optimize_neural_net.py index f9b8146..1d8d68a 100644 --- a/src/cortecs/opt/optimize_neural_net.py +++ b/src/cortecs/opt/optimize_neural_net.py @@ -4,7 +4,7 @@ import math import numpy as np -from tqdm import tqdm +from tqdm.autonotebook import tqdm from cortecs.fit.fit_neural_net import * diff --git a/src/cortecs/opt/optimize_pca.py b/src/cortecs/opt/optimize_pca.py index c1e5dc0..5582ab6 100644 --- a/src/cortecs/opt/optimize_pca.py +++ b/src/cortecs/opt/optimize_pca.py @@ -5,7 +5,7 @@ import math import numpy as np -from tqdm import tqdm +from tqdm.autonotebook import tqdm from cortecs.fit.fit import Fitter from cortecs.fit.fit_neural_net import *