Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| #SBATCH --job-name=dalek-jobarray | |
| #SBATCH --nodes=1 | |
| #SBATCH --cpus-per-task=20 | |
| #SBATCH --mem=40GB | |
| #SBATCH --time=02:00:00 | |
| #SBATCH --array=0-300 | |
| ### ACTIVATING CONDA #### | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #### implementation 1 #### | |
| class GenericModel(object): | |
| def __init__(self, *args): | |
| for property in args: | |
| self.cells_property = {some dictionary containing each cell property} | |
| # example | |
| self.cells_property = {'velocity':Velocity(asdasd)} | |
| self.__dict__[property.name] = property | |
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class QSeries(pd.Series): | |
| _metadata = ["unit", "descriptor"] | |
| @property | |
| def _constructor(self): | |
| return QSeries | |
| @property | |
| def _constructor_expanddim(self): | |
| return QDataFrame | 
OlderNewer