Skip to content

Commit

Permalink
Merge pull request #10 from spapa013/main
Browse files Browse the repository at this point in the history
rename config import
  • Loading branch information
spapa013 authored Dec 22, 2021
2 parents 06577da + 1b8f83b commit 32a6f2c
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import datajoint as dj
from datajoint import datajoint_plus as djp

from ..config import h01_auto_proofreading_config
from ..config import h01_auto_proofreading_config as config

h01_auto_proofreading_config.register_adapters(context=locals())
h01_auto_proofreading_config.register_externals()
config.register_adapters(context=locals())
config.register_externals()

schema = dj.schema(h01_auto_proofreading_config.schema_name)
schema = dj.schema(config.schema_name)

schema.spawn_missing_classes()
schema.connection.dependencies.load()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import datajoint as dj
from datajoint import datajoint_plus as djp

from ..config import h01_morphology_config
from ..config import h01_morphology_config as config

h01_morphology_config.register_adapters(context=locals())
h01_morphology_config.register_externals()
config.register_adapters(context=locals())
config.register_externals()

schema = dj.schema(h01_morphology_config.schema_name)
schema = dj.schema(config.schema_name)

schema.spawn_missing_classes()
schema.connection.dependencies.load()
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import datajoint as dj
from datajoint import datajoint_plus as djp

from ..config import minnie65_auto_proofreading_config
from ..config import minnie65_auto_proofreading_config as config

minnie65_auto_proofreading_config.register_adapters(context=locals())
minnie65_auto_proofreading_config.register_externals()
config.register_adapters(context=locals())
config.register_externals()

schema = dj.schema(minnie65_auto_proofreading_config.schema_name)
schema = dj.schema(config.schema_name)

schema.spawn_missing_classes()
schema.connection.dependencies.load()
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import datajoint as dj
from datajoint import datajoint_plus as djp

from ..config import minnie65_morphology_config
from ..config import minnie65_morphology_config as config

minnie65_morphology_config.register_adapters(context=locals())
minnie65_morphology_config.register_externals()
config.register_adapters(context=locals())
config.register_externals()

schema = dj.schema(minnie65_morphology_config.schema_name)
schema = dj.schema(config.schema_name)

schema.spawn_missing_classes()
schema.connection.dependencies.load()
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from . import h01_auto_proofreading, minnie65_auto_proofreading

djp.reassign_master_attribute(h01_auto_proofreading)
djp.reassign_master_attribute(minnie65_auto_proofreading)
djp.reassign_master_attribute(minnie65_auto_proofreading)
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
from datajoint import datajoint_plus as djp

from microns_morphology_api.schemas import h01_auto_proofreading

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import datajoint.datajoint_plus as djp
from . import h01_morphology

djp.reassign_master_attribute(h01_morphology)
djp.reassign_master_attribute(h01_morphology)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import datajoint as dj
from datajoint import datajoint_plus as djp

from microns_morphology_api.schemas import h01_morphology
from microns_morphology_api.schemas import h01_morphology
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import datajoint.datajoint_plus as djp
from . import minnie65_morphology

djp.reassign_master_attribute(minnie65_morphology)
djp.reassign_master_attribute(minnie65_morphology)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import datajoint as dj
from datajoint import datajoint_plus as djp

from microns_morphology_api.schemas import minnie65_morphology
from microns_morphology_api.schemas import minnie65_morphology

0 comments on commit 32a6f2c

Please sign in to comment.