Skip to content

Commit c9bfa11

Browse files
committed
Fix install bug + ruff
1 parent cf296c7 commit c9bfa11

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

modules/data/utils/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def load_contact_primary_school(cfg: dict, data_dir: str):
843843
import gdown
844844

845845
url = "https://drive.google.com/uc?id=1H7PGDPvjCyxbogUqw17YgzMc_GHLjbZA"
846-
fn = tempfile.NamedTemporaryFile()
846+
fn = tempfile.NamedTemporaryFile() # noqa: SIM115, RUF100
847847
gdown.download(url, fn.name, quiet=False)
848848
archive = zipfile.ZipFile(fn.name, "r")
849849
labels = archive.open(
@@ -912,7 +912,7 @@ def load_senate_committee(
912912
import gdown
913913

914914
url = "https://drive.google.com/uc?id=17ZRVwki_x_C_DlOAea5dPBO7Q4SRTRRw"
915-
fn = tempfile.NamedTemporaryFile()
915+
fn = tempfile.NamedTemporaryFile() # noqa: SIM115, RUF100
916916
gdown.download(url, fn.name, quiet=False)
917917
archive = zipfile.ZipFile(fn.name, "r")
918918
labels = archive.open(

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ dependencies=[
4848
"rdkit",
4949
"omegaconf",
5050
"pyflagsercount",
51+
"hirola",
5152
"toponetx @ git+https://github.com/pyt-team/TopoNetX.git",
5253
"topomodelx @ git+https://github.com/pyt-team/TopoModelX.git",
53-
"hirola",
5454
]
5555

5656
[project.optional-dependencies]

requirements.txt

-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ celluloid==0.2.0
1818
certifi==2024.7.4
1919
cffi==1.16.0
2020
cfgv==3.4.0
21-
-e git+ssh://[email protected]/peekxc/challenge-icml-2024.git@d9500f7756b5a5786da9f03aa822a0e8e41187ed#egg=challenge_icml_2024
2221
charset-normalizer==3.3.2
2322
cmake==3.30.0
2423
comm==0.2.2
@@ -42,7 +41,6 @@ fsspec==2024.6.1
4241
gensim==4.3.2
4342
gudhi==3.10.1
4443
h11==0.14.0
45-
-e git+ssh://[email protected]/peekxc/HeatLift.git@99b292157b680cc247f10267e72210ba01a1b49b#egg=heatlift
4644
hirola==0.3.0
4745
httpcore==1.0.5
4846
httpx==0.27.0
@@ -197,7 +195,6 @@ terminado==0.18.1
197195
texttable==1.7.0
198196
threadpoolctl==3.5.0
199197
tinycss2==1.3.0
200-
TopoEmbedX @ git+https://github.com/pyt-team/TopoEmbedX.git@7fe74c9e92dc16a37ab05db36f67aad48c69d10a
201198
TopoModelX @ git+https://github.com/pyt-team/TopoModelX.git@04d94377c07960daf60fd609c834bb9f1926d0ad
202199
TopoNetX @ git+https://github.com/pyt-team/TopoNetX.git@a78cd6a6c64acd6bcf13c7885ee37471d76abfea
203200
torch==2.0.1

0 commit comments

Comments
 (0)