Add method to write default config to Tool and Component. #2378
24.77% of diff hit (target 92.46%)
View this Pull Request on Codecov
24.77% of diff hit (target 92.46%)
Annotations
Check warning on line 287 in ctapipe/core/component.py
codecov / codecov/patch
ctapipe/core/component.py#L287
Added line #L287 was not covered by tests
Check warning on line 296 in ctapipe/core/component.py
codecov / codecov/patch
ctapipe/core/component.py#L295-L296
Added lines #L295 - L296 were not covered by tests
Check warning on line 298 in ctapipe/core/component.py
codecov / codecov/patch
ctapipe/core/component.py#L298
Added line #L298 was not covered by tests
Check warning on line 300 in ctapipe/core/component.py
codecov / codecov/patch
ctapipe/core/component.py#L300
Added line #L300 was not covered by tests
Check warning on line 303 in ctapipe/core/component.py
codecov / codecov/patch
ctapipe/core/component.py#L302-L303
Added lines #L302 - L303 were not covered by tests
Check warning on line 21 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L21
Added line #L21 was not covered by tests
Check warning on line 24 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L23-L24
Added lines #L23 - L24 were not covered by tests
Check warning on line 26 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L26
Added line #L26 was not covered by tests
Check warning on line 29 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L29
Added line #L29 was not covered by tests
Check warning on line 32 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L32
Added line #L32 was not covered by tests
Check warning on line 35 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L34-L35
Added lines #L34 - L35 were not covered by tests
Check warning on line 37 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L37
Added line #L37 was not covered by tests
Check warning on line 39 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L39
Added line #L39 was not covered by tests
Check warning on line 54 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L54
Added line #L54 was not covered by tests
Check warning on line 56 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L56
Added line #L56 was not covered by tests
Check warning on line 58 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L58
Added line #L58 was not covered by tests
Check warning on line 61 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L61
Added line #L61 was not covered by tests
Check warning on line 65 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L63-L65
Added lines #L63 - L65 were not covered by tests
Check warning on line 68 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L67-L68
Added lines #L67 - L68 were not covered by tests
Check warning on line 71 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L71
Added line #L71 was not covered by tests
Check warning on line 73 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L73
Added line #L73 was not covered by tests
Check warning on line 75 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L75
Added line #L75 was not covered by tests
Check warning on line 79 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L78-L79
Added lines #L78 - L79 were not covered by tests
Check warning on line 88 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L84-L88
Added lines #L84 - L88 were not covered by tests
Check warning on line 93 in ctapipe/core/config_writer.py
codecov / codecov/patch
ctapipe/core/config_writer.py#L91-L93
Added lines #L91 - L93 were not covered by tests