dbbs-lab / bsb-core

The Brain Scaffold Builder
https://bsb.readthedocs.io
GNU General Public License v3.0
21 stars 16 forks source link

Remove `_queued_jobs` #825

Closed Helveg closed 5 months ago

Helveg commented 5 months ago

With the new pool in #803 and #817 we can now track which node submitted which jobs, and we can probably remove the _queued_jobs attribute on the nodes themselves, in favor of in a more structured way querying the pool for all jobs submitted by a node. This contains the logic and responsibility to the pool.

    def __boot__(self):
        self._queued_jobs = []