Skip to content

Commit

Permalink
update environment.yaml and format file (#110)
Browse files Browse the repository at this point in the history
* update environment.yaml and format files

Signed-off-by: Marcel Müller <[email protected]>

* add Python>=3.12 to dependencies

Signed-off-by: Marcel Müller <[email protected]>

---------

Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
marcelmbn authored Jan 21, 2025
1 parent 7364159 commit 16933c5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
18 changes: 14 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@ name: mindlessgen
channels:
- conda-forge
dependencies:
- ruff
# runtime dependencies
- python>=3.12
- tqdm
- numpy>=2.0.0
- toml
- networkx
# development dependencies
- ruff==0.5.7
- coverage
- numpy
- pre-commit
- pytest
- tox
- tqdm
- mypy
- covdefaults
- types-toml
- types-tqdm
- setuptools_scm>=8.0.0
- pip:
- covdefaults
- build
8 changes: 4 additions & 4 deletions src/mindlessgen/generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ def single_molecule_generator(
with resources.occupy_cores(ncores):
# print a decent header for each molecule iteration
if config.general.verbosity > 0:
print(f"\n{'='*80}")
print(f"\n{'=' * 80}")
print(
f"{'='*22} Generating molecule {molcount + 1:<4} of "
+ f"{config.general.num_molecules:<4} {'='*24}"
f"{'=' * 22} Generating molecule {molcount + 1:<4} of "
+ f"{config.general.num_molecules:<4} {'=' * 24}"
)
print(f"{'='*80}")
print(f"{'=' * 80}")

with setup_managers(ncores, ncores) as (executor, manager, resources_local):
stop_event = manager.Event()
Expand Down

0 comments on commit 16933c5

Please sign in to comment.