Conversation
|
Hi, I believe it would make more sense to instead change the underlying function def local_path(self, *path):
return os.path.join(
(
self.local_output_path
if self.is_local_output
else os.getenv("ANALYSIS_DATA_PATH")
),
self.production_tag,
self.friend_name,
self.__class__.__name__,
*path,
)and def remote_path(self, *path):
parts = (self.production_tag,) + (self.friend_name,) + (self.__class__.__name__,) + path
return os.path.join(*parts)in the relevant friend classes. |
|
Also, the nick should already be in the file structure (inside the htcondor_files). Are you sure you want to have it in there twice? |
|
I only want this behavior for the htcondor files, not for other use cases. Therefore:
|
|
As to the first point, what stops you from overwriting the function in the CROWNFriends and CROWNMultiFriends classes only? As to the second point, maybe what I saw was only in relation to the MultiFriends class. If you tested that and it wasn't present before, then the nick in the file name makes sense. |
On a side note here: In any case, the main goal to have a naming that in all cases is distinct should be the main goal. If this is achievable by building something future-robust, then this would be beneficial for us, @nshadskiy? |
No description provided.