Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/fixes for label studio conversion #60

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

redur
Copy link
Contributor

@redur redur commented Jun 10, 2024

Some fixes that are required to perform the conversion from LabelStudio annotations to ground truth.

Copy link

github-actions bot commented Jun 10, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/stratigraphy
   __init__.py8188%11
   extract.py1881880%3–482
   get_files.py21210%3–48
   line_detection.py26260%3–76
   main.py94940%3–237
src/stratigraphy/util
   coordinate_extraction.py1211984%29, 49, 53, 57, 61–69, 90, 186, 284, 288, 300–303
   dataclasses.py32391%37–39
   depthcolumn.py2086768%26, 30, 51, 57, 60–61, 85, 88, 95, 102, 110–111, 121, 138–154, 199, 238, 254–262, 274, 279, 286, 313, 323, 352, 373, 376–387, 402–403, 448–490
   depthcolumnentry.py26773%12, 15, 29–30, 33, 45, 52
   description_block_splitter.py70297%24, 139
   draw.py74740%3–226
   duplicate_detection.py51510%3–146
   extract_text.py27293%38–39
   find_depth_columns.py89693%41–42, 70, 82, 175–176
   find_description.py632856%27–35, 50–63, 79–95, 172–175
   geometric_line_utilities.py86298%82, 132
   interval.py1065548%24–27, 31–34, 39, 44, 47, 57–59, 99–145, 166, 171–187
   language_detection.py18180%3–45
   layer_identifier_column.py91910%3–227
   line.py49492%25, 42, 51, 98
   linesquadtree.py46198%76
   plot_utils.py43430%3–120
   predictions.py1871870%3–387
   textblock.py74889%27, 51, 63, 75, 98, 119, 127, 155
   util.py401855%22, 40–47, 61–63, 87–88, 100–105
TOTAL1838101645% 

Tests Skipped Failures Errors Time
58 0 💤 0 ❌ 0 🔥 1.099s ⏱️

@redur redur force-pushed the feat/fixes_for_label_studio_conversion branch from d2507bc to 8f424c3 Compare June 10, 2024 06:50
@redur redur self-assigned this Jun 10, 2024
Copy link
Contributor

@stijnvermeeren-swisstopo stijnvermeeren-swisstopo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not test it with label studio, but everything looks reasonable.

@redur redur merged commit eab442f into main Jun 10, 2024
3 checks passed
@redur redur deleted the feat/fixes_for_label_studio_conversion branch June 10, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants