Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed expected to expected_fh #2948

Closed
wants to merge 1 commit into from
Closed

Conversation

kevinzb56
Copy link

📝 Description

Type: 📝 documentation

Write a complete description of your changes, including the necessary context or any piece of information required to understand your work.

Updated expected to expected_fh as the issue suggests, since it represents a file handler.

Also, link issues affected by this pull request by using the keywords: close, closes, closed, fix, fixes, fixed, resolve, resolves or resolved.

fixes #2864

📌 Resources

Examples, notebooks, and links to useful references.

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@tardis-bot
Copy link
Contributor

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

@tardis-bot
Copy link
Contributor

*beep* *bop*
Hi human,
I ran ruff on the latest commit (eebe550).
Here are the outputs produced.
Results can also be downloaded as artifacts here.
Summarised output:

186	F405   	[ ] `AdiabaticCoolingRate` may be undefined, or defined from star imports
91	F401   	[*] `PySide2.QtCore` imported but unused
81	E999   	[ ] SyntaxError: Expected a statement
48	G004   	[ ] Logging statement uses f-string
46	I001   	[*] Import block is un-sorted or un-formatted
44	RET505 	[ ] Unnecessary `elif` after `return` statement
36	W291   	[*] Trailing whitespace
30	F821   	[ ] Undefined name `GET_NEAREST_LINE_REDWARD_FUNCTION`
21	F403   	[ ] `from astropy.constants.astropyconst13 import *` used; unable to detect undefined names
16	INP001 	[ ] File `analysis/opacities.py` is part of an implicit namespace package. Add an `__init__.py`.
14	W293   	[*] Blank line contains whitespace
12	E712   	[*] Avoid equality comparisons to `False`; use `if not ...:` for false checks
12	E722   	[ ] Do not use bare `except`
12	D202   	[*] No blank lines allowed after function docstring (found 1)
11	B011   	[*] Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
11	PT015  	[ ] Assertion always fails, replace with `pytest.fail()`
10	RET506 	[ ] Unnecessary `elif` after `raise` statement
10	F811   	[*] Redefinition of unused `display` from line 8
10	UP008  	[*] Use `super()` instead of `super(__class__, self)`
7	ISC003 	[ ] Explicitly concatenated string should be implicitly concatenated
7	E402   	[ ] Module level import not at top of file
5	B018   	[ ] Found useless expression. Either assign it to a variable or remove it.
5	W292   	[*] No newline at end of file
5	D209   	[*] Multi-line docstring closing quotes should be on a separate line
4	C408   	[*] Unnecessary `dict` call (rewrite as a literal)
4	FA100  	[ ] Add `from __future__ import annotations` to simplify `typing.Tuple`
4	PIE808 	[*] Unnecessary `start` argument in `range`
4	E902   	[ ] stream did not contain valid UTF-8
4	UP032  	[*] Use f-string instead of `format` call
3	ICN001 	[*] `matplotlib` should be imported as `mpl`
3	RET508 	[ ] Unnecessary `elif` after `break` statement
3	PTH117 	[ ] `os.path.isabs()` should be replaced by `Path.is_absolute()`
3	UP004  	[*] Class `ConvergencePlots` inherits from `object`
2	ANN204 	[ ] Missing return type annotation for special method `__getitem__`
2	B010   	[*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
2	PT013  	[ ] Incorrect import of `pytest`; use `import pytest` instead
2	N812   	[ ] Lowercase `__path__` imported as non-lowercase `TARDIS_PATH`
2	N999   	[ ] Invalid module name: 'GXPacket'
2	D406   	[*] Section name should end with a newline ("Returns")
2	D407   	[*] Missing dashed underline after section ("Returns")
2	D411   	[*] Missing blank line before section ("Parameters")
2	PGH004 	[ ] Use specific rule codes when using `noqa`
1	S604   	[ ] Function call with truthy `shell` parameter identified, security issue
1	S605   	[ ] Starting a process with a shell: seems safe, but may be changed in the future; consider rewriting without `shell`
1	B017   	[ ] `pytest.raises(Exception)` should be considered evil
1	B020   	[ ] Loop control variable `isotope_dict` overrides iterable it iterates
1	C416   	[*] Unnecessary `list` comprehension (rewrite using `list()`)
1	EXE001 	[ ] Shebang is present but file is not executable
1	G001   	[ ] Logging statement uses `str.format`
1	PIE790 	[*] Unnecessary `pass` statement
1	PT021  	[ ] Use `yield` instead of `request.addfinalizer`
1	SIM103 	[*] Return the condition directly
1	NPY201 	[ ] `np.recfromtxt` will be removed in NumPy 2.0. Use `np.genfromtxt` instead.
1	PERF102	[*] When using only the values of a dict use the `values()` method
1	W605   	[*] Invalid escape sequence: `\g`
1	PLR0911	[ ] Too many return statements (8 > 6)
1	PLW0127	[ ] Self-assignment of variable `atom_data`
1	UP024  	[*] Replace aliased errors with `OSError`
1	UP031  	[*] Use format specifiers instead of percent format
1	RUF003 	[ ] Comment contains ambiguous ` ` (NO-BREAK SPACE). Did you mean ` ` (SPACE)?
1	RUF015 	[*] Prefer `next(iter(unique_v))` over single element slice
1	TRY300 	[ ] Consider moving this statement to an `else` block

Complete output(might be large):

__init__.py:6:31: PGH004 Use specific rule codes when using `noqa`
__init__.py:32:25: F401 `tardis.base.run_tardis` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
__init__.py:33:46: F401 `tardis.io.util.yaml_load_file` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
analysis.py:96:9: E722 Do not use bare `except`
analysis.py:110:9: E722 Do not use bare `except`
analysis.py:121:9: E722 Do not use bare `except`
analysis.py:136:9: E722 Do not use bare `except`
analysis.py:374:9: RET505 Unnecessary `else` after `return` statement
analysis.py:396:9: RET505 Unnecessary `else` after `return` statement
analysis.py:421:9: RET505 Unnecessary `else` after `return` statement
analysis/opacities.py:1:1: INP001 File `analysis/opacities.py` is part of an implicit namespace package. Add an `__init__.py`.
base.py:100:13: PLW0127 Self-assignment of variable `atom_data`
conftest.py:12:1: F403 `from tardis.tests.fixtures.atom_data import *` used; unable to detect undefined names
conftest.py:30:49: PGH004 Use specific rule codes when using `noqa`
conftest.py:32:9: F821 Undefined name `pytest_report_header`
constants.py:1:1: F403 `from astropy.constants.astropyconst13 import *` used; unable to detect undefined names
data/atomic_data_repo.yml:3:26: E999 SyntaxError: Expected an expression
data/atomic_symbols.dat:1:3: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
data/default_tardis_internal_config.yml:1:10: E999 SyntaxError: Expected an expression
data/default_tardis_internal_config.yml:1:10: W292 [*] No newline at end of file
data/synpp_default.yaml:4:4: E999 SyntaxError: Expected an expression
energy_input/GXPacket.py:1:1: N999 Invalid module name: 'GXPacket'
energy_input/GXPacket.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/GXPacket.py:40:16: UP004 [*] Class `GXPacket` inherits from `object`
energy_input/GXPacket.py:72:9: D407 [*] Missing dashed underline after section ("Returns")
energy_input/GXPacket.py:72:9: D406 [*] Section name should end with a newline ("Returns")
energy_input/GXPacket.py:198:13: F821 Undefined name `get_chain_decay_power_per_ejectamass`
energy_input/GXPacket.py:199:17: F821 Undefined name `inventory`
energy_input/docs/working_gamma_ray_test.ipynb:cell 1:2:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/docs/working_gamma_ray_test.ipynb:cell 1:3:18: F401 [*] `pandas` imported but unused
energy_input/docs/working_gamma_ray_test.ipynb:cell 1:6:29: F401 [*] `astropy.constants` imported but unused
energy_input/docs/working_gamma_ray_test.ipynb:cell 1:7:25: F401 [*] `astropy.units` imported but unused
energy_input/docs/working_gamma_ray_test.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/docs/working_gamma_ray_test.ipynb:cell 7:5:70: W291 [*] Trailing whitespace
energy_input/docs/working_gamma_ray_test.ipynb:cell 9:3:96: W291 [*] Trailing whitespace
energy_input/docs/working_gamma_ray_test.ipynb:cell 9:4:99: W291 [*] Trailing whitespace
energy_input/docs/working_gamma_ray_test.ipynb:cell 9:6:78: W291 [*] Trailing whitespace
energy_input/docs/working_gamma_ray_test.ipynb:cell 10:2:65: W605 [*] Invalid escape sequence: `\g`
energy_input/energy_source.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/energy_source.py:96:11: E712 Avoid equality comparisons to `True`; use `if check:` for truth checks
energy_input/energy_source.py:112:16: C416 Unnecessary `list` comprehension (rewrite using `list()`)
energy_input/energy_source.py:198:5: D202 [*] No blank lines allowed after function docstring (found 1)
energy_input/gamma_packet_loop.py:273:17: RET508 Unnecessary `else` after `break` statement
energy_input/gamma_ray_channel.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/gamma_ray_channel.py:2:17: F401 [*] `numpy` imported but unused
energy_input/gamma_ray_channel.py:54:5: D411 [*] Missing blank line before section ("Returns")
energy_input/gamma_ray_channel.py:111:5: D202 [*] No blank lines allowed after function docstring (found 1)
energy_input/gamma_ray_estimators.py:47:18: F821 Undefined name `GET_NEAREST_LINE_REDWARD_FUNCTION`
energy_input/gamma_ray_grid.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/gamma_ray_grid.py:14:5: D202 [*] No blank lines allowed after function docstring (found 1)
energy_input/gamma_ray_transport.py:456:39: PERF102 When using only the values of a dict use the `values()` method
energy_input/main_gamma_ray_loop.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/main_gamma_ray_loop.py:8:5: F401 [*] `tardis.energy_input.energy_source.get_nuclear_lines_database` imported but unused
energy_input/main_gamma_ray_loop.py:12:5: F401 [*] `tardis.energy_input.gamma_ray_channel.calculate_total_decays` imported but unused
energy_input/main_gamma_ray_loop.py:13:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_inventories_dict` imported but unused
energy_input/main_gamma_ray_loop.py:14:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_isotope_dicts` imported but unused
energy_input/main_gamma_ray_loop.py:152:17: G004 Logging statement uses f-string
energy_input/main_gamma_ray_loop.py:156:17: G004 Logging statement uses f-string
energy_input/main_gamma_ray_loop.py:158:17: G004 Logging statement uses f-string
energy_input/main_gamma_ray_loop.py:213:17: G004 Logging statement uses f-string
energy_input/main_gamma_ray_loop.py:214:17: G004 Logging statement uses f-string
energy_input/tests/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/tests/conftest.py:24:9: S604 Function call with truthy `shell` parameter identified, security issue
energy_input/tests/test_energy_source.py:35:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_energy_source.py:35:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_energy_source.py:41:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_energy_source.py:41:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_energy_source.py:47:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_energy_source.py:47:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_gamma_ray_channel.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/tests/test_gamma_ray_channel.py:8:30: F401 [*] `radioactivedecay.converters` imported but unused
energy_input/tests/test_gamma_ray_channel.py:13:5: F401 [*] `tardis.energy_input.energy_source.get_nuclear_lines_database` imported but unused
energy_input/tests/test_gamma_ray_channel.py:118:9: B020 Loop control variable `isotope_dict` overrides iterable it iterates
energy_input/tests/test_gamma_ray_grid.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/tests/test_gamma_ray_grid.py:3:17: F401 [*] `numpy` imported but unused
energy_input/tests/test_gamma_ray_grid.py:6:5: F401 [*] `tardis.energy_input.gamma_ray_grid.calculate_distance_radial` imported but unused
energy_input/tests/test_gamma_ray_grid.py:7:5: F401 [*] `tardis.energy_input.gamma_ray_grid.distance_trace` imported but unused
energy_input/tests/test_gamma_ray_grid.py:15:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_gamma_ray_grid.py:15:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_gamma_ray_grid.py:21:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_gamma_ray_grid.py:21:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_gamma_ray_interactions.py:1:1: I001 [*] Import block is un-sorted or un-formatted
energy_input/tests/test_gamma_ray_interactions.py:6:5: F401 [*] `tardis.energy_input.gamma_ray_interactions.compton_scatter` imported but unused
energy_input/tests/test_gamma_ray_interactions.py:18:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_gamma_ray_interactions.py:18:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_gamma_ray_interactions.py:24:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_gamma_ray_interactions.py:24:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_gamma_ray_transport.py:4:17: F401 [*] `numpy` imported but unused
energy_input/tests/test_gamma_ray_transport.py:5:25: F401 [*] `numpy.testing` imported but unused
energy_input/tests/test_gamma_ray_transport.py:7:28: F401 [*] `radioactivedecay` imported but unused
energy_input/tests/test_gamma_ray_transport.py:8:30: F401 [*] `radioactivedecay.converters` imported but unused
energy_input/tests/test_gamma_ray_transport.py:11:5: F401 [*] `tardis.energy_input.gamma_ray_channel.calculate_total_decays` imported but unused
energy_input/tests/test_gamma_ray_transport.py:12:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_inventories_dict` imported but unused
energy_input/tests/test_gamma_ray_transport.py:13:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_isotope_dicts` imported but unused
energy_input/tests/test_util.py:38:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_util.py:38:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_util.py:44:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_util.py:44:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_util.py:50:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_util.py:50:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/tests/test_util.py:56:5: PT015 Assertion always fails, replace with `pytest.fail()`
energy_input/tests/test_util.py:56:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
energy_input/util.py:387:5: RET505 Unnecessary `elif` after `return` statement
grid/__init__.py:7:1: F403 `from tardis.grid.base import *` used; unable to detect undefined names
grid/test.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
grid/tests/data/example.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
grid/tests/data/example_grid.txt:1:1: B018 Found useless expression. Either assign it to a variable or remove it.
grid/tests/data/example_grid.txt:1:1: F821 Undefined name `model`
grid/tests/data/example_grid.txt:1:20: F821 Undefined name `model`
grid/tests/data/example_grid.txt:1:40: F821 Undefined name `model`
grid/tests/data/example_grid.txt:1:71: F821 Undefined name `plasma`
grid/tests/data/example_grid.txt:2:1: B018 Found useless expression. Either assign it to a variable or remove it.
grid/tests/data/example_grid.txt:3:1: B018 Found useless expression. Either assign it to a variable or remove it.
grid/tests/data/example_grid.txt:4:1: B018 Found useless expression. Either assign it to a variable or remove it.
grid/tests/test_grid.py:1:1: INP001 File `grid/tests/test_grid.py` is part of an implicit namespace package. Add an `__init__.py`.
gui/__init__.py:4:57: W291 Trailing whitespace
gui/__init__.py:5:60: W291 Trailing whitespace
gui/__init__.py:6:56: W291 Trailing whitespace
gui/datahandler.py:1:1: I001 [*] Import block is un-sorted or un-formatted
gui/datahandler.py:4:17: F401 [*] `numpy` imported but unused
gui/datahandler.py:5:8: ICN001 `matplotlib` should be imported as `mpl`
gui/datahandler.py:6:28: F401 [*] `matplotlib.pylab` imported but unused
gui/datahandler.py:10:1: I001 [*] Import block is un-sorted or un-formatted
gui/datahandler.py:12:1: I001 [*] Import block is un-sorted or un-formatted
gui/datahandler.py:19:1: I001 [*] Import block is un-sorted or un-formatted
gui/datahandler.py:19:8: F401 [*] `yaml` imported but unused
gui/datahandler.py:21:20: F401 [*] `tardis.run_tardis` imported but unused
gui/datahandler.py:22:32: F401 [*] `tardis.gui.widgets.MatplotlibWidget` imported but unused
gui/datahandler.py:22:50: F401 [*] `tardis.gui.widgets.ModelViewer` imported but unused
gui/datahandler.py:22:63: F401 [*] `tardis.gui.widgets.ShellInfo` imported but unused
gui/datahandler.py:23:32: F401 [*] `tardis.gui.widgets.LineInfo` imported but unused
gui/datahandler.py:23:42: F401 [*] `tardis.gui.widgets.LineInteractionTables` imported but unused
gui/datahandler.py:37:12: UP004 [*] Class `Node` inherits from `object`
gui/datahandler.py:113:9: RET505 Unnecessary `else` after `return` statement
gui/datahandler.py:145:9: RET505 Unnecessary `else` after `return` statement
gui/datahandler.py:199:9: RET505 Unnecessary `else` after `return` statement
gui/datahandler.py:203:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
gui/datahandler.py:271:9: RET505 Unnecessary `else` after `return` statement
gui/datahandler.py:412:9: RET505 Unnecessary `elif` after `return` statement
gui/datahandler.py:436:9: RET505 Unnecessary `else` after `return` statement
gui/datahandler.py:503:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/datahandler.py:518:9: PLR0911 Too many return statements (8 > 6)
gui/datahandler.py:523:13: RET505 Unnecessary `elif` after `return` statement
gui/datahandler.py:526:17: RET505 Unnecessary `else` after `return` statement
gui/datahandler.py:536:13: RET505 Unnecessary `elif` after `return` statement
gui/datahandler.py:547:9: RET505 Unnecessary `elif` after `return` statement
gui/datahandler.py:552:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
gui/datahandler.py:556:9: RET505 Unnecessary `elif` after `return` statement
gui/images/closeicon.png:1:1: E902 stream did not contain valid UTF-8
gui/images/formswitch.png:1:1: E902 stream did not contain valid UTF-8
gui/images/mdvswitch.png:1:1: E902 stream did not contain valid UTF-8
gui/interface.py:6:25: F401 [*] `PySide2.QtCore` imported but unused
gui/interface.py:16:1: I001 [*] Import block is un-sorted or un-formatted
gui/interface.py:23:1: I001 [*] Import block is un-sorted or un-formatted
gui/widgets.py:6:1: I001 [*] Import block is un-sorted or un-formatted
gui/widgets.py:8:1: I001 [*] Import block is un-sorted or un-formatted
gui/widgets.py:16:1: I001 [*] Import block is un-sorted or un-formatted
gui/widgets.py:16:8: ICN001 `matplotlib` should be imported as `mpl`
gui/widgets.py:17:1: F403 `from matplotlib.figure import *` used; unable to detect undefined names
gui/widgets.py:24:32: F401 [*] `matplotlib.patches.Circle` imported but unused
gui/widgets.py:29:30: F401 [*] `tardis.util` imported but unused
gui/widgets.py:36:9: D202 [*] No blank lines allowed after function docstring (found 1)
gui/widgets.py:43:23: F405 `Figure` may be undefined, or defined from star imports
gui/widgets.py:54:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:55:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:58:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:164:27: C408 Unnecessary `dict` call (rewrite as a literal)
gui/widgets.py:167:26: C408 Unnecessary `dict` call (rewrite as a literal)
gui/widgets.py:168:23: C408 Unnecessary `dict` call (rewrite as a literal)
gui/widgets.py:186:9: RET505 Unnecessary `elif` after `return` statement
gui/widgets.py:198:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:226:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:229:22: F405 `yaml` may be undefined, or defined from star imports
gui/widgets.py:229:61: F405 `yaml` may be undefined, or defined from star imports
gui/widgets.py:353:24: F405 `TreeModel` may be undefined, or defined from star imports
gui/widgets.py:358:38: F405 `TreeDelegate` may be undefined, or defined from star imports
gui/widgets.py:429:35: UP024 [*] Replace aliased errors with `OSError`
gui/widgets.py:444:9: PIE790 [*] Unnecessary `pass` statement
gui/widgets.py:528:9: D202 [*] No blank lines allowed after function docstring (found 1)
gui/widgets.py:646:41: F405 `np` may be undefined, or defined from star imports
gui/widgets.py:657:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
gui/widgets.py:660:41: F405 `np` may be undefined, or defined from star imports
gui/widgets.py:688:41: F405 `np` may be undefined, or defined from star imports
gui/widgets.py:815:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:851:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
gui/widgets.py:927:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
gui/widgets.py:929:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:1124:14: UP008 Use `super()` instead of `super(__class__, self)`
gui/widgets.py:1231:9: D202 [*] No blank lines allowed after function docstring (found 1)
io/atom_data/__init__.py:5:51: F401 `tardis.io.atom_data.atom_web_download.download_atom_data` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
io/atom_data/__init__.py:6:38: F401 `tardis.io.atom_data.base.AtomData` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
io/atom_data/atom_web_download.py:51:13: G004 Logging statement uses f-string
io/atom_data/atom_web_download.py:58:17: G004 Logging statement uses f-string
io/atom_data/base.py:197:34: G004 Logging statement uses f-string
io/atom_data/base.py:259:17: G004 Logging statement uses f-string
io/atom_data/base.py:263:21: G001 Logging statement uses `str.format`
io/atom_data/base.py:702:17: G004 Logging statement uses f-string
io/atom_data/util.py:35:13: G004 Logging statement uses f-string
io/configuration/config_internal.py:9:20: N812 Lowercase `__path__` imported as non-lowercase `TARDIS_PATH`
io/configuration/config_internal.py:25:13: G004 Logging statement uses f-string
io/configuration/config_internal.py:38:13: G004 Logging statement uses f-string
io/configuration/config_reader.py:53:29: G004 Logging statement uses f-string
io/configuration/config_reader.py:117:9: RET505 Unnecessary `else` after `return` statement
io/configuration/config_reader.py:141:13: RET505 Unnecessary `else` after `return` statement
io/configuration/config_reader.py:218:29: G004 Logging statement uses f-string
io/configuration/schemas/base.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/csvy_model.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/csvy_model.yml:5:8: W291 [*] Trailing whitespace
io/configuration/schemas/debug.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/model.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/model_definitions.yml:2:13: E999 SyntaxError: Expected an expression
io/configuration/schemas/model_definitions.yml:164:1: W293 [*] Blank line contains whitespace
io/configuration/schemas/model_definitions.yml:210:1: W293 [*] Blank line contains whitespace
io/configuration/schemas/montecarlo.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/montecarlo.yml:9:92: W291 [*] Trailing whitespace
io/configuration/schemas/montecarlo.yml:10:91: W291 [*] Trailing whitespace
io/configuration/schemas/montecarlo.yml:76:51: W291 [*] Trailing whitespace
io/configuration/schemas/montecarlo_definitions.yml:1:13: E999 SyntaxError: Expected an expression
io/configuration/schemas/plasma.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/spectrum.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/schemas/spectrum.yml:9:113: W291 [*] Trailing whitespace
io/configuration/schemas/spectrum.yml:44:79: W291 [*] Trailing whitespace
io/configuration/schemas/spectrum.yml:53:1: W293 [*] Blank line contains whitespace
io/configuration/schemas/supernova.yml:1:1: E999 SyntaxError: Got unexpected token $
io/configuration/tests/data/paper1_tardis_configv1.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/paper1_tardis_configv1.yml:43:15: W292 [*] No newline at end of file
io/configuration/tests/data/tardis_configv1_density_exponential_nebular.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_density_exponential_nebular_Ni_only.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_density_exponential_nebular_multi_isotope.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_density_exponential_test.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_density_exponential_test.yml:21:1: W293 [*] Blank line contains whitespace
io/configuration/tests/data/tardis_configv1_density_power_law_test.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_nlte.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_nlte.yml:39:1: W293 [*] Blank line contains whitespace
io/configuration/tests/data/tardis_configv1_uniform_density.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_verysimple.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_verysimple_logger.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/configuration/tests/data/tardis_configv1_verysimple_logger.yml:47:30: W292 [*] No newline at end of file
io/configuration/tests/test_config_reader.py:1:1: INP001 File `io/configuration/tests/test_config_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
io/configuration/tests/test_config_validator.py:1:1: INP001 File `io/configuration/tests/test_config_validator.py` is part of an implicit namespace package. Add an `__init__.py`.
io/configuration/tests/test_configuration_namespace.py:1:1: INP001 File `io/configuration/tests/test_configuration_namespace.py` is part of an implicit namespace package. Add an `__init__.py`.
io/logger/montecarlo_tracking.py:62:30: G004 Logging statement uses f-string
io/logger/montecarlo_tracking.py:63:30: G004 Logging statement uses f-string
io/model/__init__.py:2:44: F401 `tardis.io.model.readers.cmfgen.read_cmfgen_model` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
io/model/__init__.py:3:44: F401 `tardis.io.model.readers.stella.read_stella_model` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
io/model/parse_atom_data.py:40:21: G004 Logging statement uses f-string
io/model/parse_density_configuration.py:23:6: FA100 Add `from __future__ import annotations` to simplify `typing.Tuple`
io/model/parse_geometry_configuration.py:50:12: PTH117 `os.path.isabs()` should be replaced by `Path.is_absolute()`
io/model/parse_mass_fraction_configuration.py:62:12: PTH117 `os.path.isabs()` should be replaced by `Path.is_absolute()`
io/model/parse_radiation_field_configuration.py:1:1: I001 [*] Import block is un-sorted or un-formatted
io/model/readers/generic_readers.py:20:6: FA100 Add `from __future__ import annotations` to simplify `typing.Tuple`
io/model/readers/generic_readers.py:47:12: NPY201 `np.recfromtxt` will be removed in NumPy 2.0. Use `np.genfromtxt` instead.
io/model/readers/stella.py:52:17: RET508 Unnecessary `else` after `break` statement
io/model/readers/tests/data/abund.dat:2:3: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/abund.dat:10:66: W291 [*] Trailing whitespace
io/model/readers/tests/data/arepo_cone_reference_model.csvy:1:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/arepo_cone_reference_model.csvy:41:45: W292 [*] No newline at end of file
io/model/readers/tests/data/arepo_full_reference_model.csvy:1:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/arepo_full_reference_model.csvy:41:43: W292 [*] No newline at end of file
io/model/readers/tests/data/artis_abundances.dat:1:1: E999 SyntaxError: Unexpected indentation
io/model/readers/tests/data/artis_model.dat:1:1: E999 SyntaxError: Unexpected indentation
io/model/readers/tests/data/cmfgen_model.csv:1:11: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/cmfgen_model.csv:1:14: W291 [*] Trailing whitespace
io/model/readers/tests/data/conf_def.yml:1:12: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/conf_def.yml:61:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_def.yml:72:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_def.yml:86:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_def.yml:98:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_def.yml:105:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_def.yml:106:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_def.yml:147:43: W291 [*] Trailing whitespace
io/model/readers/tests/data/conf_tes.yml:1:12: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/conf_tes.yml:17:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/conf_tes.yml:32:23: W291 [*] Trailing whitespace
io/model/readers/tests/data/csv_composition.csv:1:7: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/csvy_full.csvy:1:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/csvy_missing.csvy:1:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/csvy_nocsv.csvy:1:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/csvy_test_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/density.dat:1:3: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/invalid_artis_model.dat:1:1: E999 SyntaxError: Unexpected indentation
io/model/readers/tests/data/mesa.stella.dat:1:1: E999 SyntaxError: Unexpected indentation
io/model/readers/tests/data/non_uniform_isotope_abundance.dat:1:7: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_configv1_artis_density.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_configv1_artis_density_v_slice.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_configv1_ascii_density.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_configv1_ascii_density_abund.yml:4:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/tardis_configv1_ascii_density_uniabund.yml:4:4: E999 SyntaxError: Expected an expression
io/model/readers/tests/data/tardis_configv1_ascii_density_uniabund.yml:52:1: W293 [*] Blank line contains whitespace
io/model/readers/tests/data/tardis_configv1_isotope_iabund.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_configv1_isotope_uniabund.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_configv1_tardis_model_format.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/data/tardis_simple_ascii_density_test.dat:1:3: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
io/model/readers/tests/test_arepo_parser.py:1:1: INP001 File `io/model/readers/tests/test_arepo_parser.py` is part of an implicit namespace package. Add an `__init__.py`.
io/model/readers/tests/test_ascii_readers.py:1:1: INP001 File `io/model/readers/tests/test_ascii_readers.py` is part of an implicit namespace package. Add an `__init__.py`.
io/model/readers/tests/test_cmfgen_reader.py:1:1: INP001 File `io/model/readers/tests/test_cmfgen_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
io/model/readers/tests/test_cmfgen_reader.py:4:1: PT013 Incorrect import of `pytest`; use `import pytest` instead
io/model/readers/tests/test_csvy_reader.py:1:1: INP001 File `io/model/readers/tests/test_csvy_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
io/model/readers/tests/test_csvy_reader.py:48:10: B017 `pytest.raises(Exception)` should be considered evil
io/model/readers/tests/test_stella_reader.py:1:1: INP001 File `io/model/readers/tests/test_stella_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
io/model/readers/tests/test_stella_reader.py:5:1: PT013 Incorrect import of `pytest`; use `import pytest` instead
io/tests/test_HDFWriter.py:1:1: N999 Invalid module name: 'test_HDFWriter'
io/util.py:18:20: N812 Lowercase `__path__` imported as non-lowercase `TARDIS_PATH`
io/util.py:163:34: F821 Undefined name `basestring`
io/util.py:239:9: RET506 Unnecessary `else` after `raise` statement
io/util.py:332:21: G004 Logging statement uses f-string
io/util.py:416:13: G004 Logging statement uses f-string
model/__init__.py:9:31: F401 `tardis.model.base.SimulationState` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
model/base.py:340:12: PTH117 `os.path.isabs()` should be replaced by `Path.is_absolute()`
model/base.py:375:21: G004 Logging statement uses f-string
model/geometry/tests/test_radial1d.py:1:1: INP001 File `model/geometry/tests/test_radial1d.py` is part of an implicit namespace package. Add an `__init__.py`.
model/matter/__init__.py:1:45: F401 `tardis.model.matter.composition.Composition` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
model/matter/composition.py:206:9: RET505 Unnecessary `else` after `return` statement
model/matter/decay.py:101:21: G004 Logging statement uses f-string
model/matter/decay.py:104:17: G004 Logging statement uses f-string
model/tests/data/branch85_csvy.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/branch85_csvy.csvy:5:116: W291 [*] Trailing whitespace
model/tests/data/branch85_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/branch85_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/csvy_model_to_test_abundances.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/csvy_model_to_test_abundances.csvy:5:94: W291 [*] Trailing whitespace
model/tests/data/csvy_model_to_test_abundances.csvy:19:18: W291 [*] Trailing whitespace
model/tests/data/csvy_model_to_test_abundances.csvy:28:33: W291 [*] Trailing whitespace
model/tests/data/csvy_model_to_test_abundances.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/custom_abundance_tardis.dat:1:7: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/custom_density_tardis.dat:1:3: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/exponential_csvy.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/exponential_csvy.csvy:5:119: W291 [*] Trailing whitespace
model/tests/data/exponential_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/exponential_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/model_full_csvy.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/model_full_csvy.csvy:5:57: W291 [*] Trailing whitespace
model/tests/data/model_full_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/model_full_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/powerlaw_csvy.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/powerlaw_csvy.csvy:5:119: W291 [*] Trailing whitespace
model/tests/data/powerlaw_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/powerlaw_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/radiative_csvy.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/radiative_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/radiative_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/uniform_csvy.csvy:1:4: E999 SyntaxError: Expected an expression
model/tests/data/uniform_csvy.yml:1:69: W291 [*] Trailing whitespace
model/tests/data/uniform_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
model/tests/data/uniform_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
opacities/macro_atom/base.py:120:5: D411 [*] Missing blank line before section ("Parameters")
opacities/macro_atom/base.py:226:5: E722 Do not use bare `except`
opacities/macro_atom/base.py:245:14: UP008 Use `super()` instead of `super(__class__, self)`
opacities/macro_atom/base.py:347:9: E722 Do not use bare `except`
opacities/macro_atom/macroatom_state.py:1:1: I001 [*] Import block is un-sorted or un-formatted
opacities/macro_atom/util.py:4:33: F401 [*] `tardis.constants` imported but unused
opacities/opacity_state.py:210:9: ANN204 Missing return type annotation for special method `__getitem__`
opacities/opacity_state.py:216:9: D407 [*] Missing dashed underline after section ("Returns")
opacities/opacity_state.py:216:9: D406 [*] Section name should end with a newline ("Returns")
opacities/opacity_state.py:251:5: D202 [*] No blank lines allowed after function docstring (found 1)
opacities/tests/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
opacities/tests/test_opacity_solver.py:1:1: I001 [*] Import block is un-sorted or un-formatted
opacities/tests/test_opacity_solver.py:2:17: F401 [*] `numpy` imported but unused
opacities/tests/test_opacity_solver.py:7:44: F401 [*] `tardis.opacities.opacity_state.OpacityState` imported but unused
opacities/tests/test_opacity_solver.py:8:42: F401 [*] `tardis.opacities.tau_sobolev.calculate_sobolev_line_opacity` imported but unused
opacities/tests/test_opacity_state_numba.py:1:1: I001 [*] Import block is un-sorted or un-formatted
plasma/__init__.py:5:32: F401 `tardis.plasma.base.BasePlasma` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/assembly/__init__.py:1:41: F401 `tardis.plasma.assembly.base.PlasmaSolverFactory` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/base.py:11:1: F403 `from tardis.plasma.properties.base import *` used; unable to detect undefined names
plasma/base.py:45:9: RET505 Unnecessary `else` after `return` statement
plasma/base.py:53:9: RET506 Unnecessary `else` after `raise` statement
plasma/base.py:111:17: E722 Do not use bare `except`
plasma/base.py:144:44: F405 `PreviousIterationProperty` may be undefined, or defined from star imports
plasma/base.py:153:46: F405 `Input` may be undefined, or defined from star imports
plasma/base.py:273:13: G004 Logging statement uses f-string
plasma/base.py:296:20: F401 [*] `pygraphviz` imported but unused
plasma/base.py:297:9: E722 Do not use bare `except`
plasma/base.py:383:9: E722 Do not use bare `except`
plasma/base.py:429:35: F405 `HiddenPlasmaProperty` may be undefined, or defined from star imports
plasma/base.py:447:29: E722 Do not use bare `except`
plasma/electron_energy_distribution/__init__.py:2:5: F401 `tardis.plasma.electron_energy_distribution.base.ElectronEnergyDistribution` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/electron_energy_distribution/__init__.py:3:5: F401 `tardis.plasma.electron_energy_distribution.base.ThermalElectronEnergyDistribution` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/equilibrium/rates/__init__.py:2:5: F401 `tardis.plasma.equilibrium.rates.collision_strengths.UpsilonCMFGENSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/equilibrium/rates/__init__.py:3:5: F401 `tardis.plasma.equilibrium.rates.collision_strengths.UpsilonRegemorterSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/equilibrium/rates/__init__.py:6:5: F401 `tardis.plasma.equilibrium.rates.collisional_rates.ThermalCollisionalRateSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/equilibrium/rates/__init__.py:9:5: F401 `tardis.plasma.equilibrium.rates.radiative_rates.RadiativeRatesSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/properties/__init__.py:8:1: F403 `from tardis.opacities.macro_atom.transition_probabilities import *` used; unable to detect undefined names
plasma/properties/__init__.py:9:1: F403 `from tardis.plasma.properties.atomic import *` used; unable to detect undefined names
plasma/properties/__init__.py:10:1: F403 `from tardis.plasma.properties.continuum_processes import *` used; unable to detect undefined names
plasma/properties/__init__.py:11:1: F403 `from tardis.plasma.properties.general import *` used; unable to detect undefined names
plasma/properties/__init__.py:12:1: F403 `from tardis.plasma.properties.helium_nlte import *` used; unable to detect undefined names
plasma/properties/__init__.py:13:1: F403 `from tardis.plasma.properties.ion_population import *` used; unable to detect undefined names
plasma/properties/__init__.py:14:1: F403 `from tardis.plasma.properties.level_population import *` used; unable to detect undefined names
plasma/properties/__init__.py:15:1: F403 `from tardis.plasma.properties.nlte import *` used; unable to detect undefined names
plasma/properties/__init__.py:16:1: F403 `from tardis.plasma.properties.nlte_rate_equation_solver import *` used; unable to detect undefined names
plasma/properties/__init__.py:17:1: F403 `from tardis.plasma.properties.partition_function import *` used; unable to detect undefined names
plasma/properties/__init__.py:18:1: F403 `from tardis.plasma.properties.plasma_input import *` used; unable to detect undefined names
plasma/properties/__init__.py:19:1: F403 `from tardis.plasma.properties.radiative_properties import *` used; unable to detect undefined names
plasma/properties/__init__.py:20:1: F403 `from tardis.plasma.properties.rate_matrix_index import *` used; unable to detect undefined names
plasma/properties/atomic.py:554:9: RET505 Unnecessary `else` after `return` statement
plasma/properties/atomic.py:585:9: RET505 Unnecessary `else` after `return` statement
plasma/properties/atomic.py:598:17: G004 Logging statement uses f-string
plasma/properties/atomic.py:639:9: RET505 Unnecessary `else` after `return` statement
plasma/properties/base.py:117:25: G004 Logging statement uses f-string
plasma/properties/base.py:178:9: RET505 Unnecessary `else` after `return` statement
plasma/properties/continuum_processes/__init__.py:2:5: F401 `tardis.plasma.properties.continuum_processes.photo_ion_rate_coeff.PhotoIonRateCoeff` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/properties/continuum_processes/__init__.py:4:1: F403 `from tardis.plasma.properties.continuum_processes.rates import *` used; unable to detect undefined names
plasma/properties/continuum_processes/__init__.py:6:5: F401 `tardis.plasma.properties.continuum_processes.recomb_rate_coeff.SpontRecombRateCoeff` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/properties/continuum_processes/__init__.py:7:5: F401 `tardis.plasma.properties.continuum_processes.recomb_rate_coeff.StimRecombRateCoeff` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/properties/continuum_processes/__init__.py:8:5: F401 `tardis.plasma.properties.continuum_processes.recomb_rate_coeff.StimRecombRateFactor` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/properties/helium_nlte.py:182:21: E722 Do not use bare `except`
plasma/properties/helium_nlte.py:185:29: G004 Logging statement uses f-string
plasma/properties/helium_nlte.py:218:23: S605 Starting a process with a shell: seems safe, but may be changed in the future; consider rewriting without `shell`
plasma/properties/helium_nlte.py:259:69: F821 Undefined name `s1`
plasma/properties/ion_population.py:370:25: G004 Logging statement uses f-string
plasma/properties/ion_population.py:495:25: G004 Logging statement uses f-string
plasma/properties/legacy_property_collections.py:10:1: F403 `from tardis.plasma.properties import *` used; unable to detect undefined names
plasma/properties/legacy_property_collections.py:19:9: F405 `DilutePlanckianRadField` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:20:9: F405 `NumberDensity` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:21:9: F405 `TimeExplosion` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:22:9: F405 `AtomicData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:23:9: F405 `JBlues` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:24:9: F405 `LinkTRadTElectron` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:25:9: F405 `HeliumTreatment` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:26:9: F405 `ContinuumInteractionSpecies` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:27:9: F405 `NLTEIonizationSpecies` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:28:9: F405 `NLTEExcitationSpecies` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:33:9: F405 `TRadiative` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:34:9: F405 `DilutionFactor` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:35:9: F405 `BetaRadiation` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:36:9: F405 `Levels` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:37:9: F405 `Lines` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:38:9: F405 `PartitionFunction` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:39:9: F405 `GElectron` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:40:9: F405 `IonizationData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:41:9: F405 `LinesLowerLevelIndex` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:42:9: F405 `LinesUpperLevelIndex` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:44:9: F405 `StimulatedEmissionFactor` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:45:9: F405 `SelectedAtoms` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:46:9: F405 `ElectronTemperature` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:49:55: F405 `PhiSahaLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:50:55: F405 `LevelBoltzmannFactorLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:52:44: F405 `MacroAtomData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:55:6: F405 `PhiSahaNebular` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:55:22: F405 `ZetaData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:55:32: F405 `BetaElectron` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:55:46: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:58:6: F405 `LevelBoltzmannFactorDiluteLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:60:49: F405 `LevelBoltzmannFactorNoNLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:63:9: F405 `LevelBoltzmannFactorNLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:64:9: F405 `NLTEData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:65:9: F405 `PreviousElectronDensities` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:66:9: F405 `PreviousBetaSobolev` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:71:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:71:23: F405 `NLTEPopulationSolverRoot` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:74:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:74:23: F405 `NLTEPopulationSolverLU` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:78:9: F405 `HeliumNLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:79:9: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:80:9: F405 `ZetaData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:81:9: F405 `BetaElectron` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:82:9: F405 `LevelNumberDensityHeNLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:83:9: F405 `IonNumberDensityHeNLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:87:6: F405 `LevelNumberDensity` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:87:26: F405 `IonNumberDensity` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:90:6: F405 `HeliumNumericalNLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:94:9: F405 `PhotoIonRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:95:9: F405 `StimRecombRateFactor` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:96:9: F405 `BfHeatingRateCoeffEstimator` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:97:9: F405 `StimRecombCoolingRateCoeffEstimator` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:98:9: F405 `YgData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:103:9: F405 `StimRecombRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:104:9: F405 `PhotoIonizationData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:105:9: F405 `SpontRecombRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:106:9: F405 `ThermalLevelBoltzmannFactorLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:107:9: F405 `ThermalLTEPartitionFunction` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:108:9: F405 `BetaElectron` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:109:9: F405 `ThermalGElectron` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:110:9: F405 `ThermalPhiSahaLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:111:9: F405 `SahaFactor` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:112:9: F405 `CorrPhotoIonRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:113:9: F405 `SpontRecombCoolingRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:114:9: F405 `RawRecombTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:115:9: F405 `RawPhotoIonTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:116:9: F405 `RawRadBoundBoundTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:117:9: F405 `MarkovChainTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:118:9: F405 `NonContinuumTransProbsMask` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:119:9: F405 `YgInterpolator` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:120:9: F405 `CollExcRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:121:9: F405 `CollDeexcRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:122:9: F405 `RawCollisionTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:123:9: F405 `MarkovChainIndex` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:124:9: F405 `MarkovChainTransProbsCollector` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:126:9: F405 `MonteCarloTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:127:9: F405 `FreeFreeCoolingRate` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:128:9: F405 `FreeBoundCoolingRate` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:130:9: F405 `LevelNumberDensityLTE` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:131:9: F405 `PhotoIonBoltzmannFactor` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:132:9: F405 `FreeBoundEmissionCDF` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:133:9: F405 `LevelIdxs2LineIdx` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:134:9: F405 `LevelIdxs2TransitionIdx` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:135:9: F405 `CollIonRateCoeffSeaton` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:136:9: F405 `CollRecombRateCoeff` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:138:9: F405 `ContinuumInteractionHandler` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:142:58: F405 `AdiabaticCoolingRate` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:145:9: F405 `RawTwoPhotonTransProbs` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:146:9: F405 `TwoPhotonData` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:147:9: F405 `TwoPhotonEmissionCDF` may be undefined, or defined from star imports
plasma/properties/legacy_property_collections.py:148:9: F405 `TwoPhotonFrequencySampler` may be undefined, or defined from star imports
plasma/properties/nlte_rate_equation_solver.py:316:25: G004 Logging statement uses f-string
plasma/properties/nlte_rate_equation_solver.py:323:25: G004 Logging statement uses f-string
plasma/properties/partition_function.py:145:9: RET505 Unnecessary `elif` after `return` statement
plasma/properties/partition_function.py:181:25: G004 Logging statement uses f-string
plasma/properties/partition_function.py:192:21: G004 Logging statement uses f-string
plasma/properties/partition_function.py:199:21: G004 Logging statement uses f-string
plasma/properties/partition_function.py:252:21: RET506 Unnecessary `else` after `raise` statement
plasma/properties/property_collections.py:1:1: F403 `from tardis.plasma.properties import *` used; unable to detect undefined names
plasma/properties/property_collections.py:10:9: F405 `DilutePlanckianRadField` may be undefined, or defined from star imports
plasma/properties/property_collections.py:11:9: F405 `NumberDensity` may be undefined, or defined from star imports
plasma/properties/property_collections.py:12:9: F405 `TimeExplosion` may be undefined, or defined from star imports
plasma/properties/property_collections.py:13:9: F405 `AtomicData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:14:9: F405 `JBlues` may be undefined, or defined from star imports
plasma/properties/property_collections.py:15:9: F405 `LinkTRadTElectron` may be undefined, or defined from star imports
plasma/properties/property_collections.py:16:9: F405 `HeliumTreatment` may be undefined, or defined from star imports
plasma/properties/property_collections.py:17:9: F405 `ContinuumInteractionSpecies` may be undefined, or defined from star imports
plasma/properties/property_collections.py:18:9: F405 `NLTEIonizationSpecies` may be undefined, or defined from star imports
plasma/properties/property_collections.py:19:9: F405 `NLTEExcitationSpecies` may be undefined, or defined from star imports
plasma/properties/property_collections.py:24:9: F405 `TRadiative` may be undefined, or defined from star imports
plasma/properties/property_collections.py:25:9: F405 `DilutionFactor` may be undefined, or defined from star imports
plasma/properties/property_collections.py:26:9: F405 `BetaRadiation` may be undefined, or defined from star imports
plasma/properties/property_collections.py:27:9: F405 `Levels` may be undefined, or defined from star imports
plasma/properties/property_collections.py:28:9: F405 `Lines` may be undefined, or defined from star imports
plasma/properties/property_collections.py:29:9: F405 `PartitionFunction` may be undefined, or defined from star imports
plasma/properties/property_collections.py:30:9: F405 `GElectron` may be undefined, or defined from star imports
plasma/properties/property_collections.py:31:9: F405 `IonizationData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:32:9: F405 `LinesLowerLevelIndex` may be undefined, or defined from star imports
plasma/properties/property_collections.py:33:9: F405 `LinesUpperLevelIndex` may be undefined, or defined from star imports
plasma/properties/property_collections.py:34:9: F405 `StimulatedEmissionFactor` may be undefined, or defined from star imports
plasma/properties/property_collections.py:35:9: F405 `SelectedAtoms` may be undefined, or defined from star imports
plasma/properties/property_collections.py:36:9: F405 `ElectronTemperature` may be undefined, or defined from star imports
plasma/properties/property_collections.py:39:55: F405 `PhiSahaLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:40:55: F405 `LevelBoltzmannFactorLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:43:6: F405 `PhiSahaNebular` may be undefined, or defined from star imports
plasma/properties/property_collections.py:43:22: F405 `ZetaData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:43:32: F405 `BetaElectron` may be undefined, or defined from star imports
plasma/properties/property_collections.py:43:46: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
plasma/properties/property_collections.py:46:6: F405 `LevelBoltzmannFactorDiluteLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:48:49: F405 `LevelBoltzmannFactorNoNLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:51:9: F405 `LevelBoltzmannFactorNLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:52:9: F405 `NLTEData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:53:9: F405 `PreviousElectronDensities` may be undefined, or defined from star imports
plasma/properties/property_collections.py:57:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
plasma/properties/property_collections.py:57:23: F405 `NLTEPopulationSolverRoot` may be undefined, or defined from star imports
plasma/properties/property_collections.py:60:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
plasma/properties/property_collections.py:60:23: F405 `NLTEPopulationSolverLU` may be undefined, or defined from star imports
plasma/properties/property_collections.py:64:9: F405 `HeliumNLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:65:9: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
plasma/properties/property_collections.py:66:9: F405 `ZetaData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:67:9: F405 `BetaElectron` may be undefined, or defined from star imports
plasma/properties/property_collections.py:68:9: F405 `LevelNumberDensityHeNLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:69:9: F405 `IonNumberDensityHeNLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:73:6: F405 `LevelNumberDensity` may be undefined, or defined from star imports
plasma/properties/property_collections.py:73:26: F405 `IonNumberDensity` may be undefined, or defined from star imports
plasma/properties/property_collections.py:76:6: F405 `HeliumNumericalNLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:80:9: F405 `PhotoIonRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:81:9: F405 `StimRecombRateFactor` may be undefined, or defined from star imports
plasma/properties/property_collections.py:82:9: F405 `BfHeatingRateCoeffEstimator` may be undefined, or defined from star imports
plasma/properties/property_collections.py:83:9: F405 `StimRecombCoolingRateCoeffEstimator` may be undefined, or defined from star imports
plasma/properties/property_collections.py:84:9: F405 `YgData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:89:9: F405 `StimRecombRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:90:9: F405 `PhotoIonizationData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:91:9: F405 `SpontRecombRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:92:9: F405 `ThermalLevelBoltzmannFactorLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:93:9: F405 `ThermalLTEPartitionFunction` may be undefined, or defined from star imports
plasma/properties/property_collections.py:94:9: F405 `BetaElectron` may be undefined, or defined from star imports
plasma/properties/property_collections.py:95:9: F405 `ThermalGElectron` may be undefined, or defined from star imports
plasma/properties/property_collections.py:96:9: F405 `ThermalPhiSahaLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:97:9: F405 `SahaFactor` may be undefined, or defined from star imports
plasma/properties/property_collections.py:98:9: F405 `CorrPhotoIonRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:99:9: F405 `SpontRecombCoolingRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:100:9: F405 `YgInterpolator` may be undefined, or defined from star imports
plasma/properties/property_collections.py:101:9: F405 `CollExcRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:102:9: F405 `CollDeexcRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:103:9: F405 `RawCollisionTransProbs` may be undefined, or defined from star imports
plasma/properties/property_collections.py:104:9: F405 `MarkovChainIndex` may be undefined, or defined from star imports
plasma/properties/property_collections.py:105:9: F405 `FreeFreeCoolingRate` may be undefined, or defined from star imports
plasma/properties/property_collections.py:106:9: F405 `FreeBoundCoolingRate` may be undefined, or defined from star imports
plasma/properties/property_collections.py:107:9: F405 `LevelNumberDensityLTE` may be undefined, or defined from star imports
plasma/properties/property_collections.py:108:9: F405 `PhotoIonBoltzmannFactor` may be undefined, or defined from star imports
plasma/properties/property_collections.py:109:9: F405 `FreeBoundEmissionCDF` may be undefined, or defined from star imports
plasma/properties/property_collections.py:110:9: F405 `LevelIdxs2LineIdx` may be undefined, or defined from star imports
plasma/properties/property_collections.py:111:9: F405 `LevelIdxs2TransitionIdx` may be undefined, or defined from star imports
plasma/properties/property_collections.py:112:9: F405 `CollIonRateCoeffSeaton` may be undefined, or defined from star imports
plasma/properties/property_collections.py:113:9: F405 `CollRecombRateCoeff` may be undefined, or defined from star imports
plasma/properties/property_collections.py:114:9: F405 `ContinuumInteractionHandler` may be undefined, or defined from star imports
plasma/properties/property_collections.py:117:58: F405 `AdiabaticCoolingRate` may be undefined, or defined from star imports
plasma/properties/property_collections.py:120:9: F405 `RawTwoPhotonTransProbs` may be undefined, or defined from star imports
plasma/properties/property_collections.py:121:9: F405 `TwoPhotonData` may be undefined, or defined from star imports
plasma/properties/property_collections.py:122:9: F405 `TwoPhotonEmissionCDF` may be undefined, or defined from star imports
plasma/properties/property_collections.py:123:9: F405 `TwoPhotonFrequencySampler` may be undefined, or defined from star imports
plasma/radiation_field/__init__.py:2:5: F401 `tardis.plasma.radiation_field.planck_rad_field.DilutePlanckianRadiationField` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/radiation_field/__init__.py:3:5: F401 `tardis.plasma.radiation_field.planck_rad_field.PlanckianRadiationField` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
plasma/radiation_field/planck_rad_field.py:58:44: FA100 Add `from __future__ import annotations` to simplify `typing.Union`
plasma/radiation_field/planck_rad_field.py:117:44: FA100 Add `from __future__ import annotations` to simplify `typing.Union`
plasma/standard_plasmas.py:316:9: RET506 Unnecessary `else` after `raise` statement
plasma/tests/data/abund.dat:1:3: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
plasma/tests/data/abund.dat:2:1: W293 [*] Blank line contains whitespace
plasma/tests/data/abund.dat:3:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:4:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:5:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:6:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:7:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:8:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:9:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:10:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:11:18: W291 [*] Trailing whitespace
plasma/tests/data/abund.dat:12:18: W291 [*] Trailing whitespace
plasma/tests/data/config_init_trad.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
plasma/tests/data/density.txt:1:4: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
plasma/tests/data/plasma_base_test_config.yml:1:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
radiation_field/base.py:1:1: INP001 File `radiation_field/base.py` is part of an implicit namespace package. Add an `__init__.py`.
radiation_field/validate_radiation_field.py:1:1: INP001 File `radiation_field/validate_radiation_field.py` is part of an implicit namespace package. Add an `__init__.py`.
radiation_field/validate_radiation_field.py:1:1: I001 [*] Import block is un-sorted or un-formatted
radiation_field/validate_radiation_field.py:25:13: G004 Logging statement uses f-string
scripts/cmfgen2tardis.py:13:27: F821 Undefined name `atomic_dataset`
scripts/cmfgen2tardis.py:68:34: F821 Undefined name `atomic_dataset`
scripts/debug/run_numba_single.py:1:1: INP001 File `scripts/debug/run_numba_single.py` is part of an implicit namespace package. Add an `__init__.py`.
scripts/debug/run_numba_single.run.xml:1:1: E999 SyntaxError: Expected a statement
scripts/debug/tardis_example_single.yml:2:7: E999 SyntaxError: Expected an expression
scripts/tardis:1:1: EXE001 Shebang is present but file is not executable
scripts/tardis:3:1: I001 [*] Import block is un-sorted or un-formatted
scripts/tardis:6:17: F401 [*] `numpy` imported but unused
scripts/tardis:95:7: UP032 [*] Use f-string instead of `format` call
scripts/tardis:111:5: F821 Undefined name `raw_input`
simulation/__init__.py:5:36: F401 `tardis.simulation.base.Simulation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
simulation/base.py:197:13: RET506 Unnecessary `else` after `raise` statement
simulation/base.py:261:17: G004 Logging statement uses f-string
simulation/base.py:268:9: RET505 Unnecessary `else` after `return` statement
simulation/base.py:445:13: G004 Logging statement uses f-string
simulation/base.py:543:13: G004 Logging statement uses f-string
simulation/base.py:650:25: G004 Logging statement uses f-string
simulation/base.py:653:13: G004 Logging statement uses f-string
simulation/base.py:658:13: G004 Logging statement uses f-string
simulation/base.py:709:13: TRY300 Consider moving this statement to an `else` block
simulation/base.py:711:26: G004 Logging statement uses f-string
spectrum/formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted
spectrum/formal_integral.py:358:13: RET506 Unnecessary `else` after `raise` statement
spectrum/formal_integral.py:698:5: RET505 Unnecessary `else` after `return` statement
spectrum/formal_integral.py:734:5: RET505 Unnecessary `else` after `return` statement
spectrum/formal_integral_cuda.py:375:5: RET505 Unnecessary `else` after `return` statement
spectrum/formal_integral_cuda.py:420:5: RET505 Unnecessary `else` after `return` statement
tardis/visualization/widgets/shell_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/widgets/shell_info.py:1:25: F401 [*] `tardis.base.run_tardis` imported but unused
tardis/visualization/widgets/shell_info.py:2:51: F401 [*] `tardis.io.atom_data.atom_web_download.download_atom_data` imported but unused
tardis/visualization/widgets/shell_info.py:12:17: F401 [*] `numpy` imported but unused
tardis/visualization/widgets/shell_info.py:299:25: PIE808 [*] Unnecessary `start` argument in `range`
transport/frame_transformations.py:18:5: RET505 Unnecessary `else` after `return` statement
transport/frame_transformations.py:48:5: RET505 Unnecessary `else` after `return` statement
transport/montecarlo/__init__.py:14:1: E402 Module level import not at top of file
transport/montecarlo/__init__.py:24:1: E402 Module level import not at top of file
transport/montecarlo/__init__.py:25:5: F401 `tardis.transport.montecarlo.packet_collections.PacketCollection` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
transport/montecarlo/__init__.py:27:1: E402 Module level import not at top of file
transport/montecarlo/__init__.py:27:50: F401 `tardis.transport.montecarlo.r_packet.RPacket` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
transport/montecarlo/estimators/__init__.py:2:5: F401 `tardis.transport.montecarlo.estimators.base.EstimatedRadiationFieldProperties` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
transport/montecarlo/estimators/tests/test_continuum_property_solver.py:1:1: INP001 File `transport/montecarlo/estimators/tests/test_continuum_property_solver.py` is part of an implicit namespace package. Add an `__init__.py`.
transport/montecarlo/numba_interface.py:114:9: ANN204 Missing return type annotation for special method `__getitem__`
transport/montecarlo/packet_source.py:246:9: RET505 Unnecessary `else` after `return` statement
transport/montecarlo/r_packet_transport.py:115:13: RET508 Unnecessary `elif` after `break` statement
transport/montecarlo/tests/conftest.py:14:5: F811 Redefinition of unused `opacity_state_initialize` from line 7
transport/montecarlo/tests/data/continuum_compare_data.hdf:1:1: E902 stream did not contain valid UTF-8
transport/montecarlo/tests/test_montecarlo.py:27:1: E402 Module level import not at top of file
transport/montecarlo/tests/test_montecarlo.py:32:1: E402 Module level import not at top of file
transport/montecarlo/tests/test_montecarlo.py:48:5: PT021 Use `yield` instead of `request.addfinalizer`
transport/montecarlo/tests/test_montecarlo.py:204:5: F811 Redefinition of unused `test_get_random_mu_different_output` from line 195
transport/montecarlo/tests/test_montecarlo.py:484:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:570:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:571:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:579:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:596:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:601:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:624:9: F821 Undefined name `transport`
transport/montecarlo/tests/test_montecarlo.py:625:9: F821 Undefined name `transport`
transport/montecarlo/tests/test_montecarlo.py:626:9: F821 Undefined name `transport`
transport/montecarlo/tests/test_montecarlo.py:627:9: F821 Undefined name `transport`
transport/montecarlo/tests/test_montecarlo.py:629:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:642:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:666:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_montecarlo.py:679:5: F821 Undefined name `mc`
transport/montecarlo/tests/test_packet.py:21:1: E402 Module level import not at top of file
transport/montecarlo/tests/test_vpacket.py:12:1: E402 Module level import not at top of file
transport/montecarlo/weighted_packet_source.py:79:13: B018 Found useless expression. Either assign it to a variable or remove it.
transport/tests/test_doppler_factor.py:1:1: INP001 File `transport/tests/test_doppler_factor.py` is part of an implicit namespace package. Add an `__init__.py`.
util/base.py:341:5: RET505 Unnecessary `else` after `return` statement
util/base.py:515:5: E722 Do not use bare `except`
util/base.py:623:5: RET505 Unnecessary `elif` after `return` statement
visualization/__init__.py:3:1: I001 [*] Import block is un-sorted or un-formatted
visualization/__init__.py:3:57: F401 `tardis.visualization.tools.convergence_plot.ConvergencePlots` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:6:5: F401 `tardis.visualization.widgets.shell_info.shell_info_from_simulation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:7:5: F401 `tardis.visualization.widgets.shell_info.shell_info_from_hdf` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:9:52: F401 `tardis.visualization.widgets.line_info.LineInfoWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:10:51: F401 `tardis.visualization.widgets.grotrian.GrotrianWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:11:59: F401 `tardis.visualization.widgets.custom_abundance.CustomAbundanceWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:12:50: F401 `tardis.visualization.tools.sdec_plot.SDECPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:13:53: F401 `tardis.visualization.tools.rpacket_plot.RPacketPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/__init__.py:14:49: F401 `tardis.visualization.tools.liv_plot.LIVPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
visualization/plot_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
visualization/plot_util.py:42:5: RET505 Unnecessary `else` after `return` statement
visualization/tools/convergence_plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/convergence_plot.py:4:25: F401 [*] `matplotlib.cm` imported but unused
visualization/tools/convergence_plot.py:5:29: F401 [*] `matplotlib.colors` imported but unused
visualization/tools/convergence_plot.py:16:2: RUF003 Comment contains ambiguous ` ` (NO-BREAK SPACE). Did you mean ` ` (SPACE)?
visualization/tools/convergence_plot.py:19:29: F811 [*] Redefinition of unused `display` from line 8
visualization/tools/convergence_plot.py:50:24: UP004 [*] Class `ConvergencePlots` inherits from `object`
visualization/tools/convergence_plot.py:332:13: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/tools/liv_plot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/liv_plot.py:3:25: F401 [*] `matplotlib.cm` imported but unused
visualization/tools/liv_plot.py:25:9: D202 [*] No blank lines allowed after function docstring (found 1)
visualization/tools/liv_plot.py:48:9: D202 [*] No blank lines allowed after function docstring (found 1)
visualization/tools/liv_plot.py:341:13: RET506 Unnecessary `elif` after `raise` statement
visualization/tools/rpacket_plot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/rpacket_plot.py:3:18: F401 [*] `pandas` imported but unused
visualization/tools/rpacket_plot.py:6:26: F401 [*] `plotly.express` imported but unused
visualization/tools/rpacket_plot.py:101:13: RET505 Unnecessary `else` after `return` statement
visualization/tools/rpacket_plot.py:110:114: W291 Trailing whitespace
visualization/tools/rpacket_plot.py:115:9: D202 [*] No blank lines allowed after function docstring (found 1)
visualization/tools/rpacket_plot.py:231:35: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/tools/rpacket_plot.py:481:9: D202 [*] No blank lines allowed after function docstring (found 1)
visualization/tools/rpacket_plot.py:615:35: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/tools/rpacket_plot.py:646:9: D202 [*] No blank lines allowed after function docstring (found 1)
visualization/tools/sdec_plot.py:202:9: RET505 Unnecessary `elif` after `return` statement
visualization/tools/sdec_plot.py:343:13: RET505 Unnecessary `elif` after `return` statement
visualization/tools/sdec_plot.py:460:9: RET505 Unnecessary `else` after `return` statement
visualization/tools/sdec_plot.py:496:9: RET505 Unnecessary `elif` after `return` statement
visualization/tools/sdec_plot.py:531:13: RET506 Unnecessary `else` after `raise` statement
visualization/tools/sdec_plot.py:699:13: RET506 Unnecessary `else` after `raise` statement
visualization/tools/tests/data/observed_spectrum_test_data.dat:1:11: E999 SyntaxError: Simple statements must be separated by newlines or semicolons
visualization/tools/tests/test_convergence_plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/tests/test_convergence_plot.py:6:36: F401 [*] `tardis.tests.test_util.monkeysession` imported but unused
visualization/tools/tests/test_convergence_plot.py:87:24: PIE808 [*] Unnecessary `start` argument in `range`
visualization/tools/tests/test_convergence_plot.py:111:22: PIE808 [*] Unnecessary `start` argument in `range`
visualization/tools/tests/test_convergence_plot.py:198:9: E712 Avoid equality comparisons to `False`; use `if not ...:` for false checks
visualization/tools/tests/test_convergence_plot.py:215:9: E712 Avoid equality comparisons to `False`; use `if not ...:` for false checks
visualization/tools/tests/test_convergence_plot.py:220:40: F811 Redefinition of unused `monkeysession` from line 6
visualization/tools/tests/test_liv_plot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/tests/test_liv_plot.py:352:29: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/tools/tests/test_rpacket_plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/tests/test_sdec_plot.py:2:1: I001 [*] Import block is un-sorted or un-formatted
visualization/tools/tests/test_sdec_plot.py:327:29: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/tools/tests/test_sdec_plot.py:383:9: F811 Redefinition of unused `test_generate_plot_mpl` from line 293
visualization/widgets/custom_abundance.py:2:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/custom_abundance.py:32:60: F811 [*] Redefinition of unused `quantity_linspace` from line 16
visualization/widgets/custom_abundance.py:604:47: UP032 [*] Use f-string instead of `format` call
visualization/widgets/custom_abundance.py:737:9: SIM103 Return the condition directly
visualization/widgets/custom_abundance.py:741:9: RET505 Unnecessary `else` after `return` statement
visualization/widgets/custom_abundance.py:917:12: E712 Avoid equality comparisons to `True`; use `if obj.new:` for truth checks
visualization/widgets/custom_abundance.py:1130:9: RET505 Unnecessary `else` after `return` statement
visualization/widgets/custom_abundance.py:1421:9: RET506 Unnecessary `else` after `raise` statement
visualization/widgets/custom_abundance.py:1473:27: UP031 Use format specifiers instead of percent format
visualization/widgets/custom_abundance.py:1688:36: UP032 [*] Use f-string instead of `format` call
visualization/widgets/custom_abundance.py:1724:9: F811 Redefinition of unused `input_d_time_0_eventhandler` from line 1713
visualization/widgets/custom_abundance.py:1754:13: F821 Undefined name `display`
visualization/widgets/custom_abundance.py:1756:13: F821 Undefined name `display`
visualization/widgets/custom_abundance.py:1758:13: F821 Undefined name `display`
visualization/widgets/grotrian.py:6:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/grotrian.py:13:8: ICN001 `matplotlib` should be imported as `mpl`
visualization/widgets/grotrian.py:608:35: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/widgets/grotrian.py:753:35: ISC003 Explicitly concatenated string should be implicitly concatenated
visualization/widgets/grotrian.py:923:20: C408 Unnecessary `dict` call (rewrite as a literal)
visualization/widgets/grotrian.py:1157:9: B010 [*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
visualization/widgets/grotrian.py:1158:9: B010 [*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
visualization/widgets/grotrian.py:1176:9: RET505 Unnecessary `elif` after `return` statement
visualization/widgets/grotrian_mockup.ipynb:cell 1:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/line_info.py:3:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/line_info.py:3:8: F401 [*] `re` imported but unused
visualization/widgets/line_info.py:305:21: E712 Avoid equality comparisons to `False`; use `if not ...:` for false checks
visualization/widgets/shell_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/shell_info.py:1:25: F401 [*] `tardis.base.run_tardis` imported but unused
visualization/widgets/shell_info.py:2:51: F401 [*] `tardis.io.atom_data.atom_web_download.download_atom_data` imported but unused
visualization/widgets/shell_info.py:12:17: F401 [*] `numpy` imported but unused
visualization/widgets/shell_info.py:299:25: PIE808 [*] Unnecessary `start` argument in `range`
visualization/widgets/tests/test_custom_abundance.py:2:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/tests/test_custom_abundance.py:4:8: F401 [*] `tardis` imported but unused
visualization/widgets/tests/test_custom_abundance.py:8:36: F401 [*] `tardis.tests.test_util.monkeysession` imported but unused
visualization/widgets/tests/test_custom_abundance.py:34:19: F811 Redefinition of unused `monkeysession` from line 8
visualization/widgets/tests/test_custom_abundance.py:156:20: E712 Avoid equality comparisons to `True`; use `if caw.btn_next.disabled:` for truth checks
visualization/widgets/tests/test_custom_abundance.py:157:20: E712 Avoid equality comparisons to `True`; use `if caw.btn_prev.disabled:` for truth checks
visualization/widgets/tests/test_custom_abundance.py:225:34: UP032 [*] Use f-string instead of `format` call
visualization/widgets/tests/test_custom_abundance.py:225:50: RUF015 Prefer `next(iter(unique_v))` over single element slice
visualization/widgets/tests/test_line_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/tests/test_line_info.py:7:36: F401 [*] `tardis.tests.test_util.monkeysession` imported but unused
visualization/widgets/tests/test_line_info.py:43:20: E712 Avoid equality comparisons to `False`; use `if not species_interactions_df.all(axis=None):` for false checks
visualization/widgets/tests/test_line_info.py:66:12: E712 Avoid equality comparisons to `False`; use `if not species_interactions_df.all(axis=None):` for false checks
visualization/widgets/tests/test_line_info.py:89:20: E712 Avoid equality comparisons to `False`; use `if not last_line_counts_df.all(axis=None):` for false checks
visualization/widgets/tests/test_line_info.py:145:66: F811 Redefinition of unused `monkeysession` from line 7
visualization/widgets/tests/test_line_info.py:289:16: E712 Avoid equality comparisons to `False`; use `if not bool(selected_species):` for false checks
visualization/widgets/tests/test_line_info.py:335:12: E712 Avoid equality comparisons to `False`; use `if not ...:` for false checks
visualization/widgets/tests/test_shell_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
visualization/widgets/tests/test_shell_info.py:5:36: F401 [*] `tardis.tests.test_util.monkeysession` imported but unused
visualization/widgets/tests/test_shell_info.py:144:50: F811 Redefinition of unused `monkeysession` from line 5
workflows/simple_tardis_workflow.py:230:17: G004 Logging statement uses f-string
workflows/simple_tardis_workflow.py:449:17: G004 Logging statement uses f-string
workflows/standard_tardis_workflow.py:172:13: G004 Logging statement uses f-string
workflows/standard_tardis_workflow.py:212:17: G004 Logging statement uses f-string
workflows/workflow_logging.py:69:13: G004 Logging statement uses f-string
workflows/workflow_logging.py:107:21: G004 Logging statement uses f-string
Found 800 errors.
[*] 194 fixable with the `--fix` option (49 hidden fixes can be enabled with the `--unsafe-fixes` option).

@KasukabeDefenceForce
Copy link
Contributor

KasukabeDefenceForce commented Jan 14, 2025

The PR is too long and one cannot see the changes you made. You need to recheck the way you have setup git and then remove the extra files.

@tardis-bot
Copy link
Contributor

*beep* *bop*
Hi human,
I ran benchmarks as you asked comparing master (2a06fdf) and the latest commit (eebe550).
Here are the logs produced by ASV.
Results can also be downloaded as artifacts here.

Significantly changed benchmarks:

All benchmarks:

Benchmarks that have stayed the same:

| Change   | Before [2a06fdfb] <master>   | After [eebe5506]    | Ratio   | Benchmark (Parameter)                                                                                                               |
|----------|------------------------------|---------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------|
|          | 632±200ns                    | 571±100ns           | ~0.90   | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_pair_creation_opacity_calculation                                |
|          | 1.45±0.2μs                   | 1.31±0.4μs          | ~0.90   | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_line                    |
|          | 59.0±30μs                    | 51.8±20μs           | ~0.88   | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_scatter                                          |
|          | 3.21±0.7μs                   | 2.78±0.4μs          | ~0.87   | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_bad_vpacket                                       |
|          | 2.48±2μs                     | 1.99±1μs            | ~0.80   | transport_montecarlo_estimators_radfield_estimator_calcs.BenchmarkMontecarloMontecarloNumbaPacket.time_update_line_estimators       |
|          | 28.3±6μs                     | 20.4±5μs            | ~0.72   | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_last_interaction_tracker_list |
|          | 512±100ns                    | 561±100ns           | 1.10    | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_compton_opacity_calculation                                      |
|          | 2.57±0ms                     | 2.78±0.02ms         | 1.08    | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('scatter')                                     |
|          | 3.60±0.02ms                  | 3.87±0.04ms         | 1.07    | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('macroatom')                                   |
|          | 37.7±0.03μs                  | 39.9±0.03μs         | 1.06    | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_tracker_list                  |
|          | 571±200ns                    | 601±100ns           | 1.05    | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_photoabsorption_opacity_calculation                              |
|          | 714±1ns                      | 729±1ns             | 1.02    | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_thomson_scatter                                       |
|          | 1.03±0m                      | 1.04±0m             | 1.01    | run_tardis.BenchmarkRunTardis.time_run_tardis_rpacket_tracking                                                                      |
|          | 62.1±0.5ms                   | 62.9±0.04ms         | 1.01    | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_rpacket_trackers_to_dataframe                  |
|          | 38.3±0.04s                   | 38.3±0.07s          | 1.00    | run_tardis.BenchmarkRunTardis.time_run_tardis                                                                                       |
|          | 2.08±0m                      | 2.08±0m             | 1.00    | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_FormalIntegrator_functions                                 |
|          | 207±0.3ns                    | 206±0.05ns          | 1.00    | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_intensity_black_body                                       |
|          | 1.18±0μs                     | 1.18±0μs            | 1.00    | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_boundary                |
|          | 1.74±0.03ms                  | 1.69±0ms            | 0.97    | transport_montecarlo_main_loop.BenchmarkTransportMontecarloMontecarloMainLoop.time_montecarlo_main_loop                             |
|          | 7.32±2μs                     | 7.11±2μs            | 0.97    | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_volley                                    |
|          | 2.65±0.4ms                   | 2.54±0.5ms          | 0.96    | transport_montecarlo_single_packet_loop.BenchmarkTransportMontecarloSinglePacketLoop.time_single_packet_loop                        |
|          | 6.50±0.8μs                   | 6.25±1μs            | 0.96    | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket                                           |
|          | 44.0±30μs                    | 41.2±20μs           | 0.94    | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_emission                                         |
|          | 3.62±0.5μs                   | 3.30±0.4μs          | 0.91    | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_within_shell                              |

If you want to see the graph of the results, you can check it here

@kevinzb56 kevinzb56 closed this by deleting the head repository Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change expected to expected_fh if it is a file handler
3 participants