Describe the bug
On import, the NodesAsPulses steals the first logging entry, regardless of its used or not.
To Reproduce
Steps to reproduce the behavior:
Run any training script under /examples
Expected behavior
The log entry should point to the correct module
Full traceback
Please include the full error message to allow for debugging
graphnet [MainProcess] INFO 2024-05-20 15:53:42 - NodesAsPulses.__init__ - Writing log to logs/graphnet_20240520-155342.log
Additional context
@AMHermansen has pointed this out in the past - it is caused by GraphDefinition having a NodesAsPulses set directly as default value.
Describe the bug On import, the
NodesAsPulses
steals the first logging entry, regardless of its used or not.To Reproduce Steps to reproduce the behavior: Run any training script under /examples
Expected behavior The log entry should point to the correct module
Full traceback Please include the full error message to allow for debugging
Additional context @AMHermansen has pointed this out in the past - it is caused by
GraphDefinition
having aNodesAsPulses
set directly as default value.