Improve progress bar updating in xml creation tasks on backend#322
Improve progress bar updating in xml creation tasks on backend#322haniffm wants to merge 5 commits intoESSolutions:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #322 +/- ##
=========================================
- Coverage 54.7% 54.3% -0.41%
=========================================
Files 160 160
Lines 11534 11563 +29
Branches 1493 1507 +14
=========================================
- Hits 6310 6279 -31
- Misses 5031 5085 +54
- Partials 193 199 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #322 +/- ##
==========================================
- Coverage 54.7% 54.56% -0.15%
==========================================
Files 160 160
Lines 11534 11559 +25
Branches 1493 1503 +10
==========================================
- Hits 6310 6307 -3
- Misses 5031 5058 +27
- Partials 193 194 +1
Continue to review full report at Codecov.
|
ESSArch_Core/ip/utils.py
Outdated
|
|
||
| generator = XMLGenerator() | ||
| generator.generate(files_to_create, folderToParse=ip.object_path, algorithm=algorithm) | ||
| for _ in generator.generate(files_to_create, folderToParse=ip.object_path, algorithm=algorithm): |
There was a problem hiding this comment.
We can probably use yield from here instead of the loop. (Note that the loop body also can be deleted, it's just that Github doesn't allow multi line suggestions atm)
| for _ in generator.generate(files_to_create, folderToParse=ip.object_path, algorithm=algorithm): | |
| yield from generator.generate(files_to_create, folderToParse=ip.object_path, algorithm=algorithm) |
No description provided.