diff --git a/app/Livewire/BubbleFrequencyPlot.php b/app/Livewire/BubbleFrequencyPlot.php index c0483b34..3cef5d45 100644 --- a/app/Livewire/BubbleFrequencyPlot.php +++ b/app/Livewire/BubbleFrequencyPlot.php @@ -8,20 +8,19 @@ class BubbleFrequencyPlot extends Component { public $chartData; - public $firstColumnName; - - public $secondColumnName; + public $columnName; public $chartId; public $name_corrections = [ - + 'np_classifier_class' => 'NPClassifier\'s Chemical Classes ', + 'chemical_class' => 'ClassyFire\'s Chemical Classes ', ]; public function mount($chartName, $chartData) { // Extract column names - [$this->firstColumnName, $this->secondColumnName] = explode('|', $chartName); + [$this->columnName] = explode('|', $chartName); // Ensure data is properly formatted $this->chartData = array_map(function ($item) { diff --git a/app/Livewire/PropertiesPlot.php b/app/Livewire/PropertiesPlot.php index 644e71e0..b748578c 100644 --- a/app/Livewire/PropertiesPlot.php +++ b/app/Livewire/PropertiesPlot.php @@ -19,6 +19,7 @@ class PropertiesPlot extends Component 'qed_drug_likeliness' => 'QED drug likeness', 'hydrogen_bond_acceptors_lipinski' => 'Hydrogen bond acceptors Lipinski', 'hydrogen_bond_donors_lipinski' => 'Hydrogen bond donors Lipinski', + 'lipinski_rule_of_five_violations' => 'Lipinski\'s rule of 5 violations', ]; public function mount($property, $name) diff --git a/resources/views/livewire/annotation-score-plot.blade.php b/resources/views/livewire/annotation-score-plot.blade.php index 047a65f9..b49565c4 100644 --- a/resources/views/livewire/annotation-score-plot.blade.php +++ b/resources/views/livewire/annotation-score-plot.blade.php @@ -1,7 +1,10 @@