BEAST-Fitting / beast

Bayesian Extinction And Stellar Tool
http://beast.readthedocs.io
23 stars 35 forks source link

partial merge to check results before subgrid fitting is complete #687

Closed lea-hagen closed 3 years ago

lea-hagen commented 3 years ago

I wrote this a while back and just realized I never did a PR. I found that I wanted to look at fits for some of the stars in a field, but since the fitting (with subgrids) was still in progress, I would have to wait a while for it to finish before I could run the merging and see the best fits. This adds the capability to do a partial merge: it looks through the existing stats/pdf1d files (lnP not currently implemented), figures out which stars have been finished in ALL subgrids, and just merges those stars. It adds a partial label to the output files so it's clear that the files don't have the final results.

codecov-io commented 3 years ago

Codecov Report

Merging #687 (67b6f69) into master (44d12e3) will decrease coverage by 0.05%. The diff coverage is 3.70%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #687      +/-   ##
==========================================
- Coverage   44.24%   44.19%   -0.06%     
==========================================
  Files          99       99              
  Lines        9638     9649      +11     
==========================================
  Hits         4264     4264              
- Misses       5374     5385      +11     
Impacted Files Coverage Δ
beast/tools/subgridding_tools.py 31.73% <0.00%> (-0.85%) :arrow_down:
beast/tools/run/merge_files.py 8.88% <11.11%> (-0.87%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 44d12e3...67b6f69. Read the comment docs.