Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
9e1afc58
Commit
9e1afc58
authored
1 year ago
by
Alexander Schlemmer
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: removed one redundant function call
parent
1f058cd8
No related branches found
No related tags found
2 merge requests
!178
FIX: #96 Better error output for crawl.py script.
,
!167
Sync Graph
Pipeline
#51527
passed with warnings
1 year ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caoscrawler/sync_graph.py
+5
-2
5 additions, 2 deletions
src/caoscrawler/sync_graph.py
with
5 additions
and
2 deletions
src/caoscrawler/sync_graph.py
+
5
−
2
View file @
9e1afc58
...
@@ -546,6 +546,8 @@ class SyncGraph:
...
@@ -546,6 +546,8 @@ class SyncGraph:
identifiable when none of the two nodes had the sufficient properties on its own before)
identifiable when none of the two nodes had the sufficient properties on its own before)
- check whether dependent nodes can now get an identifiable (the merge might have set the
- check whether dependent nodes can now get an identifiable (the merge might have set the
ID such that dependent nodes can now create an identifiable)
ID such that dependent nodes can now create an identifiable)
Last review by Alexander Schlemmer on 2024-05-29.
"""
"""
# sanity checks
# sanity checks
if
source
is
target
:
if
source
is
target
:
...
@@ -617,8 +619,9 @@ class SyncGraph:
...
@@ -617,8 +619,9 @@ class SyncGraph:
# - merge
# - merge
self
.
_add_identifiables_to_dependent_nodes
(
target
)
self
.
_add_identifiables_to_dependent_nodes
(
target
)
if
self
.
get_equivalent
(
target
)
is
not
None
:
eq_node
=
self
.
get_equivalent
(
target
)
self
.
_merge_into
(
target
,
self
.
get_equivalent
(
target
))
if
eq_node
is
not
None
:
self
.
_merge_into
(
target
,
eq_node
)
def
_identifiable_is_needed
(
self
,
node
:
SyncNode
):
def
_identifiable_is_needed
(
self
,
node
:
SyncNode
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment