Commits

Britton Smith  committed fa10f98

Fixed bug when no statistics fields given.

  • Participants
  • Parent commits 6dd2e6a

Comments (0)

Files changed (1)

     if get_b_values:
         extra_fields = ['b_value']
     else:
-        extra_fields = None
+        extra_fields = []
     for s_field in mean_fields + variance_fields + [field] + extra_fields:
         final_field_stats[s_field] = na.zeros(((dn_bins.size - 1),2))
         for bin in range(dn_bins.size - 1):