bugpyFormex - Bugs: bug #43005, Why out and res parameters are...

 
 

bug #43005: Why out and res parameters are deprecated in ABQData?

Submitted by:  francesco <francio>
Submitted on:  Sun 17 Aug 2014 01:02:32 PM UTC  
 
Category: PluginsSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 21 Aug 2014 10:29:20 AM UTC, comment #2:

The deprecation has been removed.

francesco <francio>
Project Member
Wed 20 Aug 2014 03:56:39 PM UTC, comment #1:

Since out,res were made part of the Step class, I think the general out,res are not needed anymore. They are written out on every step, even when they are the same for all steps.

If you have fixed out,res for all steps, it is just as easy to define your steps with these fixed refs as parameters, as to put them as arguments to the AbqData.

However, keeping the global out,res is useful when you want to ADD some global output requests to specific per step requests. That is why the feature was left in. So we should probably remove the deprecation.

Note however that the new OutputDB class does not allow this easy addition of global and per step requests (as in out+self.out).
In order to do that, the OutputDB class should probably be subclassed from a list. I do not see any particular reason for that class to be a Dict anyway.

Benedict Verhegghe <bverheg>
Project Administrator
Sun 17 Aug 2014 01:02:32 PM UTC, original submission:

I dont get this deprecation. Why cannot be passed in ABQDAta and only in Step?

Also now with the new OutputDB class can be convenent to keep it.
Can we remove this deprecation or can explain why is this done?

francesco <francio>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by francio (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Aug 2014 10:29:20 AM UTCfrancioOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1