Skip to content

Commit 2ffaa0f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5e93ffc commit 2ffaa0f

53 files changed

Lines changed: 2532 additions & 1446 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Factory
22

3-
> **⚠️ This project is under active development.**
3+
> **⚠️ This project is under active development.**
44
55
A Python package for crystallographic data processing and analysis.
66

‎configs/config_example.yaml‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ model_settings:
2222
weight_decay: 0.000
2323
optimizer_eps: 1e-16
2424
weight_decouple: true
25-
25+
2626
# Scheduler configuration
2727
# scheduler_step: 55
2828
scheduler_gamma: 0.1
@@ -41,18 +41,18 @@ model_settings:
4141
# scale_prior_variance: 6241.0
4242
# scale_distribution: FoldedNormalDistributionLayer
4343

44-
metadata_encoder:
44+
metadata_encoder:
4545
name: BaseMetadataEncoder
4646
params:
4747
depth: 10
4848

49-
# metadata_encoder:
49+
# metadata_encoder:
5050
# name: SimpleMetadataEncoder
5151
# params:
5252
# hidden_dim: 256
5353
# depth: 5
5454

55-
profile_encoder:
55+
profile_encoder:
5656
name: BaseShoeboxEncoder
5757
params:
5858
# in_channels: 1
@@ -91,7 +91,7 @@ model_settings:
9191
# params:
9292
# concentration: 6.68
9393
# rate: 0.001
94-
94+
9595
background_prior_distribution:
9696
# name: TorchHalfNormal
9797
# params:
@@ -121,7 +121,3 @@ loss_settings:
121121

122122
phenix_settings:
123123
r_values_reference_path: "/n/holylabs/LABS/hekstra_lab/Users/fgiehr/jobs/anomalous_peaks_files/pdb_model/refine_001.log"
124-
125-
126-
127-

‎docs/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ help:
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2121

2222
watch:
23-
sphinx-autobuild . _build/html --open-browser --watch examples
23+
sphinx-autobuild . _build/html --open-browser --watch examples

‎docs/_templates/layout.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
<li class="toctree-l1"><a class="reference internal" href="{{ pathto('index') }}">Home</a></li>
88
<li class="toctree-l1"><a class="reference internal" href="{{ pathto('api/index') }}">API Reference</a></li>
99
</ul>
10-
{% endblock %}
10+
{% endblock %}

‎docs/api/index.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ API Reference
77
model
88
distributions
99

10-
This section provides detailed API documentation for Factory's modules and functions.
10+
This section provides detailed API documentation for Factory's modules and functions.

‎docs/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@ def linkcode_resolve(domain, info):
227227

228228
fn = os.path.relpath(fn, start=os.path.dirname("../factory"))
229229

230-
return f"https://github.com/rs-station/factory/blob/main/factory/{fn}{linespec}" # noqa
230+
return f"https://github.com/rs-station/factory/blob/main/factory/{fn}{linespec}" # noqa

‎docs/convert_favicon.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import cairosvg
22

33
# Convert SVG to PNG
4-
cairosvg.svg2png(url='images/favicon.svg', write_to='images/favicon_32x32.png', output_width=32, output_height=32)
4+
cairosvg.svg2png(
5+
url="images/favicon.svg",
6+
write_to="images/favicon_32x32.png",
7+
output_width=32,
8+
output_height=32,
9+
)

‎docs/images/favicon.svg‎

Lines changed: 1 addition & 1 deletion
Loading

‎docs/index.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Indices and tables
1616

1717
* :ref:`genindex`
1818
* :ref:`modindex`
19-
* :ref:`search`
19+
* :ref:`search`

‎docs/installation.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ For development installation:
2121
2222
git clone https://github.com/rs-station/factory.git
2323
cd factory
24-
pip install -e ".[test,docs]"
24+
pip install -e ".[test,docs]"

0 commit comments

Comments
 (0)