[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59136] Makeprofiles with --replace is not thread-safe (labels can
From: |
Mohammad Akhlaghi |
Subject: |
[bug #59136] Makeprofiles with --replace is not thread-safe (labels can differ when they overlap) |
Date: |
Fri, 18 Sep 2020 20:18:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0 |
URL:
<https://savannah.gnu.org/bugs/?59136>
Summary: Makeprofiles with --replace is not thread-safe
(labels can differ when they overlap)
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Sat 19 Sep 2020 01:18:06 AM BST
Category: MakeProfiles
Severity: 3 - Normal
Item Group: Output not reasonable
Status: In Progress
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The '--replace' option in MakeProfiles is mostly used in scenarios with a flat
profile, when you want to build labeled images for things like aperture
photometry. It is necessary to avoid adding object labels over the same pixel.
However, we would simply replace the values in the same order that they were
built.
By default MakeProfiles builds the profiles in parallel (unless the user gives
a '--numthreads=1' option). Hence the result was that the output would not be
thread-safe (every time MakeProfiles is run, the overlapping profiles have a
different value).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59136>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #59136] Makeprofiles with --replace is not thread-safe (labels can differ when they overlap),
Mohammad Akhlaghi <=