File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/scippneutron/metadata Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -291,25 +291,30 @@ def _deduce_package_source_url(package_name: str) -> str | None:
291
291
return None
292
292
293
293
294
- class SourceType (str , enum .Enum ):
294
+ class SourceType (enum .Enum ):
295
295
"""Type of source.
296
296
297
297
Names are based on NeXus definitions.
298
298
"""
299
299
300
300
SpallationNeutronSource = 'Spallation Neutron Source'
301
+ """A spallation neutron source."""
301
302
ReactorNeutronSource = 'Reactor Neutron Source'
303
+ """A reactor neutron source."""
302
304
SynchrotronXraySource = 'Synchrotron X-ray Source'
305
+ """A synchrotron X-ray source."""
303
306
304
307
305
- class RadiationProbe (str , enum .Enum ):
308
+ class RadiationProbe (enum .Enum ):
306
309
"""Type of radiation probe.
307
310
308
311
Names are based on NeXus definitions.
309
312
"""
310
313
311
314
Neutron = 'neutron'
315
+ """Neutron probe."""
312
316
Xray = 'X-ray'
317
+ """X-ray probe."""
313
318
314
319
315
320
class Source (BaseModel ):
You can’t perform that action at this time.
0 commit comments