MassimoGregorioTotaro commited on
Commit
82caf01
1 Parent(s): b212cb1

download fix

Browse files
Files changed (2) hide show
  1. data.py +1 -1
  2. instructions.md +1 -1
data.py CHANGED
@@ -66,7 +66,7 @@ class Data:
66
  .reset_index(drop=True) for x in range(self.out.shape[0]//19)]
67
  , axis=1).set_axis(range(self.out.shape[0]//19*2), axis='columns')
68
  # save to temporary file to be downloaded
69
- self.out.round(2).to_csv(self.out_buffer, index=False)
70
  return (self.out.style
71
  .format(lambda x: f'{x:.2f}' if isinstance(x, float) else x)
72
  .hide(axis=0)
 
66
  .reset_index(drop=True) for x in range(self.out.shape[0]//19)]
67
  , axis=1).set_axis(range(self.out.shape[0]//19*2), axis='columns')
68
  # save to temporary file to be downloaded
69
+ self.out.round(2).to_csv(self.out_buffer, index=False, header=False)
70
  return (self.out.style
71
  .format(lambda x: f'{x:.2f}' if isinstance(x, float) else x)
72
  .hide(axis=0)
instructions.md CHANGED
@@ -1,5 +1,5 @@
1
  # **ESM zero-shot variant prediction**
2
- this was inspired from this [paper](https://doi.org/10.1101/2021.07.09.450648) and adaptated from [this repo](https://github.com/facebookresearch/esm/tree/main/esm)
3
 
4
  #### **Instructions**
5
  - in the 'sequence' text box the protein full amino acid sequence that is to be analysed must be given, jolly charachters (e.g. -X.B) are supported (but at the moment the visualisation does not show the correct results)
 
1
  # **ESM zero-shot variant prediction**
2
+ this was inspired from this [paper](https://doi.org/10.1101/2021.07.09.450648) and adaptated from this [repo](https://github.com/facebookresearch/esm/tree/main/esm)
3
 
4
  #### **Instructions**
5
  - in the 'sequence' text box the protein full amino acid sequence that is to be analysed must be given, jolly charachters (e.g. -X.B) are supported (but at the moment the visualisation does not show the correct results)