Commit Graph

6 Commits

Author SHA256 Message Date
c5f85b2618 Layer.__init__: ValueError on num.of pulses is fatal, not warning
error message changed accordingly
2026-02-09 15:04:35 +01:00
9dbf523190 huge improvements, read below
* function get_entry_from_elabid moved to the top to be used by classes
* class Layers renamed Layer
* class Layer expanded and completed with all NeXus-needed metadata
* classes improved with "quality" error management
* class Material added, for now it fetches just compound_elabid and
  compund chemical formula (as attribute and method respectively)
* class Material has get_compound() method which needs some commenting
* DEBUG MODE improved to cover all cases: layer, sample, substr. and pld
  target; creates a new shortcut for prompting (read line 147)
* removed herobrine (fuck i'm old aren't i)
2026-02-06 16:56:50 +01:00
4e224d3e29 completes Entrypoint class for now
also adds a few comments to Layers class
and changes debug mode to test Entrypoint
2026-01-28 16:03:14 +01:00
f74d8efea8 keyerrors handled on all attributes of classes Layers and Entrypoint 2026-01-28 15:45:36 +01:00
7245c757c3 reworks chained_requests
classes for parsing, functions for requests
also in general I shouldn't put error handling inside a class
2026-01-28 15:41:20 +01:00
e40173f264 adds script to resolve chained requests 2026-01-27 23:23:09 +01:00