Skip to content

Add output verbosity control (#131)

5a82427
Select commit
Loading
Failed to load commit list.
Merged

Release: merge develop into master #132

Add output verbosity control (#131)
5a82427
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Mar 31, 2026 in 5s

48 issues fixed. 58 issues found.

Annotations

Check notice on line 736 in src/easydiffraction/analysis/analysis.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/analysis/analysis.py#L580-L736

Complex Method

Check notice on line 47 in src/easydiffraction/io/ascii.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/io/ascii.py#L47

Unresolved comment '# TODO: Unify mkdir with other uses in the code'. (C100)

Check notice on line 175 in src/easydiffraction/datablocks/experiment/item/factory.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/item/factory.py#L175

Unresolved comment '# TODO: add minimal default configuration for missing parameters'. (C100)

Check notice on line 436 in src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py#L436

Unresolved comment '# TODO: The following is a temporary workaround to handle zero'. (C100)

Check notice on line 153 in src/easydiffraction/datablocks/experiment/collection.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/collection.py#L153

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 39 in src/easydiffraction/datablocks/experiment/categories/data/bragg_sc.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/data/bragg_sc.py#L39

Unresolved comment '# TODO: the following pattern is valid for dict key'. (C100)

Check notice on line 109 in src/easydiffraction/datablocks/experiment/item/factory.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/item/factory.py#L109

Unresolved comment '# TODO: @typechecked fails to find gemmi?' (C100)

Check notice on line 41 in src/easydiffraction/datablocks/structure/item/factory.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/structure/item/factory.py#L41

Unresolved comment '# TODO: @typechecked fails to find gemmi?' (C100)

Check notice on line 154 in src/easydiffraction/datablocks/experiment/item/enums.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/item/enums.py#L154

Unresolved comment '# TODO: Can the same be reused for other enums in this file?' (C100)

Check notice on line 179 in src/easydiffraction/datablocks/structure/categories/atom_sites/default.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/structure/categories/atom_sites/default.py#L179

Unresolved comment '# TODO: What to pass as default?' (C100)

Check notice on line 501 in src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py#L501

Unresolved comment '# TODO: split into multiple methods'. (C100)

Check notice on line 29 in src/easydiffraction/datablocks/experiment/collection.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/collection.py#L29

Unresolved comment '# TODO: Make abstract in DatablockCollection?' (C100)

Check notice on line 35 in src/easydiffraction/datablocks/experiment/categories/excluded_regions/default.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/excluded_regions/default.py#L35

Unresolved comment '# TODO: Add point_id as for the background'. (C100)

Check notice on line 346 in src/easydiffraction/datablocks/experiment/categories/data/total_pd.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/data/total_pd.py#L346

Unresolved comment '# TODO: split into multiple methods'. (C100)

Check notice on line 65 in src/easydiffraction/datablocks/experiment/collection.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/collection.py#L65

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 19 in src/easydiffraction/datablocks/experiment/categories/background/base.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/background/base.py#L19

Unresolved comment '# TODO: Consider moving to CategoryCollection'. (C100)

Check notice on line 153 in src/easydiffraction/datablocks/experiment/item/enums.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/item/enums.py#L153

Unresolved comment '# TODO: Can supported values be defined based on the structure of peak/?' (C100)

Check notice on line 82 in src/easydiffraction/datablocks/experiment/collection.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/collection.py#L82

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 25 in src/easydiffraction/core/validation.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/core/validation.py#L25

Unresolved comment '# TODO: MkDocs doesn't unpack types'. (C100)

Check notice on line 10 in src/easydiffraction/datablocks/experiment/categories/background/enums.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/background/enums.py#L10

Unresolved comment '# TODO: Consider making EnumBase class with: default, description, ...' (C100)

Check notice on line 165 in src/easydiffraction/analysis/calculators/cryspy.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/analysis/calculators/cryspy.py#L165

Unresolved comment '# TODO: Redirect stderr to suppress Cryspy warnings.' (C100)

Check notice on line 477 in src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py#L477

Unresolved comment '# TODO: ???' (C100)

Check notice on line 353 in src/easydiffraction/datablocks/structure/categories/atom_sites/default.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/structure/categories/atom_sites/default.py#L353

Unresolved comment '# TODO: Decide how to handle this case'. (C100)

Check notice on line 576 in src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/datablocks/experiment/categories/data/bragg_pd.py#L576

Unresolved comment '# TODO: split into multiple methods'. (C100)

Check notice on line 547 in src/easydiffraction/display/plotting.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/display/plotting.py#L547

Unresolved comment '# TODO: Rename from _prepare_powder_data as it also supports'. (C100)