Changeset 1221 for framspy


Ignore:
Timestamp:
04/17/23 02:36:01 (21 months ago)
Author:
Maciej Komosinski
Message:

Cosmetic

Location:
framspy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksLib.py

    r1220 r1221  
    151151                """
    152152                        :param method: -1 = genetic Levenshtein distance; 0, 1, 2 = phenetic dissimilarity (SimilMeasureGreedy, SimilMeasureHungarian, SimilMeasureDistribution); -2, -3 = phenetic density distribution (count, frequency).
    153                         See also prepareDissimilarityCalculation().
    154153                        :return: A square array with dissimilarities of each pair of genotypes.
    155154                """
  • framspy/dissimilarity/density-distribution.py

    r1219 r1221  
    187187        """
    188188
    189         min_x = np.min([np.min(array1[:,0]),np.min(array2[:,0])])   
     189        min_x = np.min([np.min(array1[:,0]),np.min(array2[:,0])])
    190190        max_x = np.max([np.max(array1[:,0]),np.max(array2[:,0])])
    191191        min_y = np.min([np.min(array1[:,1]),np.min(array2[:,1])])
     
    248248            print("Base voxels fig1: ", numvox1, " fig2: ", numvox2)
    249249            print("After reduction voxels fig1: ", sum(s1[1]), " fig2: ", sum(s2[1]))
    250             raise ValueError("BAd signature!")
     250            raise ValueError("Bad signature!")
    251251
    252252        reduce_fun = self.reduceSignaturesFreq if self.frequency else self.reduceSignaturesDens
  • framspy/recording-body-coords.sim

    r1170 r1221  
    1515# Adjust 'Energy0' to achieve the lifespan you need.
    1616# 'evalcount' should likely be 1 unless you need other performance criteria (like vertpos or distance) averaged from multiple evaluations.
    17 # Put this file in the "data" subdirectory within the Framsticks distribution.
     17# Put this file in the "data" subdirectory within the Framsticks distribution unless you prefer to provide its path when loading.
    1818
    1919sim_params:
Note: See TracChangeset for help on using the changeset viewer.