diff --git a/isotables/isotopapp/.views.py.swp b/isotables/isotopapp/.views.py.swp deleted file mode 100644 index fc7a50e..0000000 Binary files a/isotables/isotopapp/.views.py.swp and /dev/null differ diff --git a/isotables/magnex_profile.dat b/isotables/isotopapp/magnex_profile.dat similarity index 100% rename from isotables/magnex_profile.dat rename to isotables/isotopapp/magnex_profile.dat diff --git a/isotables/oxford_profile.dat b/isotables/isotopapp/oxford_profile.dat similarity index 100% rename from isotables/oxford_profile.dat rename to isotables/isotopapp/oxford_profile.dat diff --git a/isotables/isotopapp/views.py b/isotables/isotopapp/views.py index 56caf35..2346afe 100644 --- a/isotables/isotopapp/views.py +++ b/isotables/isotopapp/views.py @@ -89,7 +89,7 @@ def result(request): if abs(f_Larmor - freq) <= freq_range: close_isotopes.append(isotope_info(isotope, field_T)) ans = sorted(close_isotopes, key=lambda x: -float(x[3])) - div = f"Field B0: {field_T:.3f} T" + div = f"Field B0: {field_T:.3g} T" script = "" elif request.GET.get('gradient_search') == "":